Embedded Xinu Operating System
An ongoing research project and educational operating system.
|
#include <kernel.h>
#include <mips.h>
#include <memory.h>
#include <safemem.h>
Functions | |
void | memRegionInit (void *memory_start, uint memory_size) |
Variables | |
struct memregion * | regtab |
struct memregion * | regfreelist |
struct memregion * | regalloclist |
Initializes system memory for region allocator.
void memRegionInit | ( | void * | memory_start, |
uint | memory_size | ||
) |
Initialize free memory into page aligned regions. Takes necessary overhead of region table for the amount of memory on platform.
memory_start | Base address of heap space. |