StuBS
|
Multiboot Information Structure according to Specification. More...
Classes | |
struct | Array |
Helper Structure. More... | |
Public Types | |
enum | Flag : uint32_t { Memory = 1 << 0 , BootDev = 1 << 1 , CmdLine = 1 << 2 , Modules = 1 << 3 , SymbolTable = 1 << 4 , SectionHeader = 1 << 5 , MemoryMap = 1 << 6 , DriveInfo = 1 << 7 , ConfigTable = 1 << 8 , BootLoaderName = 1 << 9 , ApmTable = 1 << 10 , VbeInfo = 1 << 11 , FramebufferInfo = 1 << 12 } |
Public Member Functions | |
bool | has (enum Flag flag) const |
Check if setting is available. | |
Public Attributes | ||
struct { | ||
uint32_t lower | ||
Amount of memory below 1 MiB in kilobytes. | ||
uint32_t upper | ||
Amount of memory above 1 MiB in kilobytes. | ||
} | mem | |
Available memory retrieved from BIOS. | ||
uint32_t | boot_device | |
"root" partition | ||
uint32_t | cmdline | |
Kernel command line. | ||
Array | mods | |
List of boot modules. | ||
struct Array | mmap | |
Memory Map. | ||
struct Array | drives | |
Drive Information. | ||
uint32_t | config_table | |
ROM configuration table. | ||
uint32_t | boot_loader_name | |
Boot Loader Name. | ||
uint32_t | apm_table | |
APM table. | ||
struct Multiboot::VBE | vbe | |
VBE Information. | ||
struct Multiboot::Framebuffer | framebuffer | |
Framebuffer information. | ||
Multiboot Information Structure according to Specification.
enum multiboot_info::Flag : uint32_t |
|
inline |
Check if setting is available.
flag | Flag to check |
true
if available