Embedded Xinu Operating System
An ongoing research project and educational operating system.
|
#include <safemem.h>
Functions | |
void | memRegionInsert (struct memregion *region, struct memregion **list) |
Variables | |
struct memregion * | regalloclist |
struct memregion * | regfreelist |
Insert a memory region into a list of memory regions (free or allocated).
void memRegionInsert | ( | struct memregion * | region, |
struct memregion ** | list | ||
) |
Insert a region into a region list. This will coalesce with neighboring regions if applicable (list is free list).
region | Region to insert. |
list | List to insert region in. |