#include <kernel.h>#include <memory.h>

Go to the source code of this file.
Functions | |
| void * | getmem (ulong nbytes) |
Definition in file getmem.c.
| void* getmem | ( | ulong | nbytes | ) |
Allocate heap storage, returning pointer to assigned memory region.
| nbytes | number of bytes requested |
Definition at line 17 of file getmem.c.
References disable(), freelist, memblock::length, memblock::next, NULL, restore(), roundmb, and SYSERR.
Referenced by create().
1.5.5