2 * Multiboot OS definitions and structures.
8 #define MULTIBOOT_HEADER_MAGIC 0x1BADB002
9 #define MULTIBOOT_HEADER_FLAGS 0x00010003
10 #define MULTIBOOT_BOOTLOADER_MAGIC 0x2BADB002
12 typedef unsigned long t_32 ;
14 typedef struct multiboot_header
30 /* Symbol table for a.out. */
31 typedef struct aout_symbol_table
37 } aout_symbol_table_t;
39 /* Section header table for ELF. */
40 typedef struct elf_section_header_table
46 } elf_section_header_table_t;
48 /* Multiboot information. */
49 typedef struct multiboot_info
60 aout_symbol_table_t aout_sym;
61 elf_section_header_table_t elf_sec;
67 /* Module structure. */
76 /* Memory map. Offset 0 is base_addr_low -no size. */
77 typedef struct memory_map
87 #define CHECK_FLAG(flags,bit) ((flags) & (1 << (bit)))
89 #endif /* _MULTIBOOT_H_ */