|
iPXE
|
Null system memory map API. More...
#include <stdint.h>Go to the source code of this file.
Macros | |
| #define | MEMMAP_PREFIX_null __null_ |
Functions | |
| FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
| static | __attribute__ ((always_inline)) void MEMMAP_INLINE(null |
| Describe memory region from system memory map. More... | |
| static | memmap_describe (uint64_t min, int hide __unused, struct memmap_region *region) |
| Describe memory region from system memory map. More... | |
| static | memmap_sync (void) |
| Synchronise in-use regions with the externally visible system memory map. More... | |
Null system memory map API.
Definition in file null_memmap.h.
| #define MEMMAP_PREFIX_null __null_ |
Definition at line 17 of file null_memmap.h.
| FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
|
inlinestatic |
Describe memory region from system memory map.
Synchronise in-use regions with the externally visible system memory map.
| min | Minimum address |
| hide | Hide in-use regions from the memory map |
| region | Region descriptor to fill in |
| static memmap_describe | ( | uint64_t | min, |
| int | hide, | ||
| struct memmap_region * | region | ||
| ) |
Describe memory region from system memory map.
| min | Minimum address |
| hide | Hide in-use regions from the memory map |
| region | Region descriptor to fill in |
Definition at line 28 of file null_memmap.h.
References memmap_init(), and min.
Referenced by com32_exec_loop(), memmap_dump_all(), and prep_segment().
| static memmap_sync | ( | void | ) |
Synchronise in-use regions with the externally visible system memory map.
In environments such as x86 BIOS, we need to patch the global system memory map to hide our in-use regions, since there is no other way to communicate this information to external code.
Definition at line 40 of file null_memmap.h.
Referenced by memmap_use().
1.8.15