iPXE
|
Base memory allocation. More...
Go to the source code of this file.
Functions | |
FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
static unsigned int | get_fbms (void) |
Read the BIOS free base memory counter. More... | |
void | set_fbms (unsigned int new_fbms) |
Set the BIOS free base memory counter. More... | |
void | hide_basemem (void) |
Hide used base memory. More... | |
Base memory allocation.
Definition in file basemem.h.
FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
|
inlinestatic |
Read the BIOS free base memory counter.
fbms | Free base memory counter (in kB) |
Definition at line 21 of file basemem.h.
References BDA_FBMS, BDA_SEG, and get_real.
Referenced by basememsize(), com32_exec_loop(), comboot_init_psp(), hide_basemem(), hide_etherboot(), undi_load(), and undi_unload().
void set_fbms | ( | unsigned int | new_fbms | ) |
Set the BIOS free base memory counter.
new_fbms | New free base memory counter (in kB) |
Definition at line 43 of file basemem.c.
References BDA_FBMS, BDA_SEG, hide_basemem(), and put_real.
Referenced by undi_load(), and undi_unload().
void hide_basemem | ( | void | ) |
Hide used base memory.
Definition at line 107 of file hidemem.c.
References get_fbms(), and hidemem_base.
Referenced by hide_etherboot(), and set_fbms().