axle OS
x86_32 UNIX-like hobby OS
multiboot.h
1 #include <std/common.h>
2 
3 #define MULTIBOOT_FLAG_MEM 0x001
4 #define MULTIBOOT_FLAG_DEVICE 0x002
5 #define MULTIBOOT_FLAGS_CMDLINE 0x004
6 #define MULTIBOOT_FLAG_MODS 0x008
7 #define MULTIBOOT_FLAG_AOUT 0x010
8 #define MULTIBOOT_FLAG_ELF 0x020
9 #define MULTIBOOT_FLAG_MMAP 0x040
10 #define MULTIBOOT_FLAG_CONFIG 0x080
11 #define MULTIBOOT_FLAG_LOADER 0x100
12 #define MULTIBOOT_FLAG_APM 0x200
13 #define MULTIBOOT_FLAG_VBE 0x400
14 
15 typedef struct multiboot_info {
16  uint32_t flags;
17  uint32_t mem_lower;
18  uint32_t mem_upper;
19  uint32_t boot_device;
20  uint32_t cmdline;
21  uint32_t mods_count;
22  uint32_t mods_addr;
23  uint32_t num;
24  uint32_t size;
25  uint32_t addr;
26  uint32_t shndx;
27  uint32_t mmap_length;
28  uint32_t mmap_addr;
29  uint32_t drives_length;
30  uint32_t drives_addr;
31  uint32_t config_table;
32  uint32_t boot_loader_name;
33  uint32_t apm_table;
34  uint32_t vbe_control_info;
35  uint32_t vbe_mode_info;
36  uint32_t vbe_mode;
37  uint32_t vbe_interface_seg;
38  uint32_t vbe_interface_off;
39  uint32_t vbe_interface_len;
40 } multiboot;
41 
42 //typedef struct multiboot_header multiboot_header_t;
Definition: multiboot.h:15
Definition: size.h:4
Definition: vbe.h:44