swissChili | 9752ab3 | 2021-03-05 11:20:13 -0800 | [diff] [blame] | 1 | #pragma once |
2 | |||||
3 | #include "kint.h" | ||||
4 | |||||
5 | struct multiboot | ||||
6 | { | ||||
7 | uint flags; | ||||
8 | uint mem_lower; | ||||
9 | uint mem_upper; | ||||
10 | uint boot_device; | ||||
11 | char *cmdline; | ||||
12 | uint mods_count; | ||||
swissChili | 6c0519e | 2021-03-07 19:40:23 -0800 | [diff] [blame^] | 13 | uchar **mods_addr; |
swissChili | 9752ab3 | 2021-03-05 11:20:13 -0800 | [diff] [blame] | 14 | uint num; |
15 | uint size; | ||||
16 | uint addr; | ||||
17 | uint shndx; | ||||
18 | uint mmap_length; | ||||
19 | uint mmap_addr; | ||||
20 | uint drives_length; | ||||
21 | uint drives_addr; | ||||
22 | uint config_table; | ||||
23 | uint boot_loader_name; | ||||
24 | uint apm_table; | ||||
25 | uint vbe_control_info; | ||||
26 | uint vbe_mode_info; | ||||
27 | uint vbe_mode; | ||||
28 | uint vbe_interface_seg; | ||||
29 | uint vbe_interface_off; | ||||
30 | uint vbe_interface_len; | ||||
31 | }; | ||||
32 | |||||
33 | struct multiboot make_multiboot_physical(struct multiboot *old); |