map_copy_ph_block is replaced by map_clone_ph_block, which can replace a single physical block by multiple physical blocks. also, . merge map_mem.c with region.c, as they manipulate the same data structures . NOTRUNNABLE removed as sanity check . use direct functions for ALLOC_MEM and FREE_MEM again . add some checks to shared memory mapping code . fix for data structure integrity when using shared memory . fix sanity checks
11 lines
185 B
C
11 lines
185 B
C
|
|
#ifndef _MEMLIST_H
|
|
#define _MEMLIST_H 1
|
|
|
|
struct memlist {
|
|
struct memlist *next;
|
|
phys_bytes phys; /* physical address in bytes */
|
|
phys_bytes length; /* length in bytes */
|
|
};
|
|
|
|
#endif
|