#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