39 #ifndef __MULTIBOOT_HEADER__ 40 #define __MULTIBOOT_HEADER__ 44 #define MULTIBOOT_FLAG_MEM 0x001 45 #define MULTIBOOT_FLAG_DEVICE 0x002 46 #define MULTIBOOT_FLAG_CMDLINE 0x004 47 #define MULTIBOOT_FLAG_MODS 0x008 48 #define MULTIBOOT_FLAG_AOUT 0x010 49 #define MULTIBOOT_FLAG_ELF 0x020 50 #define MULTIBOOT_FLAG_MMAP 0x040 51 #define MULTIBOOT_FLAG_CONFIG 0x080 52 #define MULTIBOOT_FLAG_LOADER 0x100 53 #define MULTIBOOT_FLAG_APM 0x200 54 #define MULTIBOOT_FLAG_VBE 0x400 56 #define MULTIBOOT_MEMORY_AVAILABLE 1 57 #define MULTIBOOT_MEMORY_RESERVED 2 58 #define MULTIBOOT_MEMORY_ACPI_RECLAIMABLE 3 59 #define MULTIBOOT_MEMORY_NVS 4 60 #define MULTIBOOT_MEMORY_BADRAM 5 109 #endif // __MULTIBOOT_HEADER__ unsigned int type
Memory type.
Definition: multiboot.h:106
unsigned int length_high
Higher bytes of the length.
Definition: multiboot.h:105
uint32_t vbe_interface_off
VBE3.0 interface segment offset.
Definition: multiboot.h:90
uint32_t vbe_interface_seg
VBE3.0 interface segment.
Definition: multiboot.h:89
uint32_t flags
Header flags.
Definition: multiboot.h:68
uint32_t mods_addr
Address to the first module structure.
Definition: multiboot.h:74
struct multiboot_header multiboot_header_t
Multiboot header structure define.
Definition: multiboot.h:94
uint32_t mmap_addr
Memory map address.
Definition: multiboot.h:80
uint32_t config_table
Configuration table address.
Definition: multiboot.h:83
unsigned int size
Size of this entry.
Definition: multiboot.h:101
Memory map structure.
Definition: multiboot.h:100
uint32_t size
This is reserved by symbol table & ELF headers.
Definition: multiboot.h:76
unsigned int base_addr_high
Higher bytes of the base address.
Definition: multiboot.h:103
unsigned int base_addr_low
Lower bytes of the base address.
Definition: multiboot.h:102
struct multiboot_memory_map multiboot_memory_map_t
uint32_t apm_table
Pointer to the APM table.
Definition: multiboot.h:85
uint32_t vbe_interface_len
VBE3.0 interface segment length.
Definition: multiboot.h:91
uint32_t vbe_mode
Current VBE mode.
Definition: multiboot.h:88
uint32_t shndx
This is reserved by symbol table & ELF headers.
Definition: multiboot.h:78
uint32_t vbe_control_info
Pointer to the VBE control info structure.
Definition: multiboot.h:86
uint32_t drives_addr
Drive map address.
Definition: multiboot.h:82
Multiboot header info.
Definition: multiboot.h:66
unsigned int length_low
Lower bytes of the length.
Definition: multiboot.h:104
uint32_t addr
This is reserved by symbol table & ELF headers.
Definition: multiboot.h:77
uint32_t boot_device
Boot device ID.
Definition: multiboot.h:71
uint32_t cmdline
Pointer to the boot command line.
Definition: multiboot.h:72
uint32_t num
This is reserved by symbol table & ELF headers.
Definition: multiboot.h:75
uint32_t mmap_length
Memory map length.
Definition: multiboot.h:79
uint32_t vbe_mode_info
Pointer to the VBE mode info structure.
Definition: multiboot.h:87
struct multiboot __attribute__((packed))
uint32_t mem_upper
Upper memory available.
Definition: multiboot.h:70
uint32_t mem_lower
Lower memory available.
Definition: multiboot.h:69
uint32_t boot_loader_name
Pointer to the bootloader's name.
Definition: multiboot.h:84
uint32_t drives_length
Drive map length.
Definition: multiboot.h:81
uint32_t mods_count
Amount of modules loaded.
Definition: multiboot.h:73