Memory Map. More...
|void *||getStartAddress () const|
|Get start of this memory area. More...|
|void *||getEndAddress () const|
|Get end of this memory area. More...|
|bool||isAvailable () const|
|Is the memory marked as usable. More...|
|Memory *||getNext () const|
|Get the next memory area. More...|
The boot loader queries the BIOS for a memory map and stores its result in (something like) a linked list. However, this list may not be complete, can have contradictory entries and does not take the location of your kernel or any boot modules into account. (Anyways, it is still the best memory map you will have in StuBS...)
- Needs to be enabled explicitly by setting the
MULTIBOOT_MEMORY_INFOflag in the multiboot header (see
- See also
- Detecting Memory
Member Function Documentation
|void * Multiboot::Memory::getStartAddress||(||)||const|
Get start of this memory area.
- Pointer to begin of the physical address of the memory area
|void * Multiboot::Memory::getEndAddress||(||)||const|
Get end of this memory area.
- Pointer beyond the physical address of this memory area
Is the memory marked as usable.
falseif not usable.
|Memory * Multiboot::Memory::getNext||(||)||const|
Get the next memory area.
- pointer to the next memory area entry or
nullptrif last area
The documentation for this class was generated from the following files: