blob: ffc3d25f350c6531788088634c9e5f02b466ccab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
#ifndef MULTIBOOT_H
#define MULTIBOOT_H
#include "types.h"
typedef struct {
uint32_t mod_start;
uint32_t mod_end;
char* string;
uint32_t reserved;
} multiboot_module_t;
typedef struct {
uint32_t flags;
uint32_t mem_lower;
uint32_t mem_upper;
uint32_t boot_device;
char* cmdline;
uint32_t mods_count;
multiboot_module_t* mods_addr;
union {
uint32_t foo[3];
} syms;
uint32_t mmap_length;
uint32_t mmap_addr;
uint32_t drives_length;
uint32_t drives_addr;
uint32_t config_table;
uint32_t boot_loader_name;
uint32_t apm_table;
uint32_t vbe_control_info;
uint32_t vbe_mode_info;
uint32_t vbe_mode;
uint32_t vbe_interface_seg;
uint32_t vbe_interface_off;
uint32_t vbe_interface_len;
} multiboot_info_t;
extern multiboot_info_t multiboot_info;
#endif
|