StupidOS Boot protocol constants and structs
| bootinfo.inc | StupidOS Boot protocol constants and structs |
| Macros | |
| BOOT_HEADER_MAGIC | |
| BOOT_BOOTLOADER_MAGIC | |
| Structs | |
| BootHeader | |
| BootMMapEntry | Memory map entry |
| Macros | |
| BOOT_MAX_MMAP_ENTRY | |
| Structs | |
| BootInfoRange | |
| BootInfo | StupidOS boot protocol structure |
struc BootHeader
| .magic | Must be BOOT_HEADER_MAGIC |
| .load_end_addr | TODO |
| .bss_end_addr | TODO |
| .entry_addr | Kernel entry point |
BOOT_HEADER_MAGIC = 0x44505453
BOOT_BOOTLOADER_MAGIC = 0x53545044
struc BootHeader
Memory map entry
struc BootMMapEntry
BOOT_MAX_MMAP_ENTRY = 16
struc BootInfoRange
StupidOS boot protocol structure
struc BootInfo