OOStuBS - Technische Informatik II (TI-II)  2.4
multiboot.h
gehe zur Dokumentation dieser Datei
1 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\
2  * Technische Informatik II *
3  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
4  * *
5  * M U L T I B O O T *
6  * *
7 \* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
8 
9 #ifndef __multiboot_header__
10 #define __multiboot_header__
11 
12 /* MACROS */
13 
18 #define MULTIBOOT_HEADER_MAGIC 0x1BADB002
19 
20 #ifdef __ELF__
21 
25  # define MULTIBOOT_HEADER_FLAGS 0x00000003
26 
27 #else
28 
32  # define MULTIBOOT_HEADER_FLAGS 0x00010003
33 
34 #endif //__ELF__
35 
41 #define MULTIBOOT_BOOTLOADER_MAGIC 0x2BADB002
42 
43 /* Do not include in assembly files */
44 #ifndef ASM
45  /* INCLUDES */
46  #include <stdint.h>
47 
48  /* TYPES */
49  struct Multiboot_Info;
50 
51 #endif // ASM
52 
53 #endif // __multiboot_header__