]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Create a standalone version of sys/malloc.h
authorimp <imp@FreeBSD.org>
Thu, 24 Sep 2020 06:40:35 +0000 (06:40 +0000)
committerimp <imp@FreeBSD.org>
Thu, 24 Sep 2020 06:40:35 +0000 (06:40 +0000)
commite34fac850c2be28222aba49143f0bd746e90611c
tree2b9a29139d9afa029458b33edccb5f8493b30f0c
parentb1c57f89cea230668d96cbf6a755adf37fd63e79
Create a standalone version of sys/malloc.h

The ZSTD support for the boot loader will need to include files that
use the kernel's malloc interface. Create a standalone stub version
that's functional enough to allow this to work. There's some
limitations in this interface, and it's not quite a perfect
match. Specifically, M_WAITOK allocations can fail because there's
nothing that can be done we no memory is available.
sys/sys/malloc.h