ArvernOS
|
Macros | |
#define | HEAP_START 0x10000000 |
The virtual address to the start of the heap memory. | |
#define | HEAP_SIZE (20 * 1024 * 1024) |
The size of the heap (20 MiB). | |
#define | MAX_PAGES (HEAP_SIZE / PAGE_SIZE) |
The number of pages that we can allocate. | |
Functions | |
void | alloc_init () |
void alloc_init | ( | ) |
Initializes the heap memory allocator.