iPXE
|
#include <basemem.h>
Go to the source code of this file.
Functions | |
FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
static unsigned int | basememsize (void) |
Get size of base memory from BIOS free base memory counter. More... | |
unsigned int | extmemsize (void) |
Get size of extended memory. More... | |
FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
|
inlinestatic |
Get size of base memory from BIOS free base memory counter.
basemem | Base memory size, in kB |
Definition at line 13 of file memsizes.h.
References get_fbms().
Referenced by x86_get_memmap().
unsigned int extmemsize | ( | void | ) |
Get size of extended memory.
extmem | Extended memory size, in kB |
Note that this is only an approximation; for an accurate picture, use the E820 memory map obtained via get_memmap();
Definition at line 156 of file memmap.c.
References extmemsize_88(), and extmemsize_e801().
Referenced by nbi_process_segments(), and x86_get_memmap().