Forward compatibility: build relative-base link libraries where needed
[AROS.git] / arch / ppc-chrp / boot / openfirmware / include / kernel.h
blob853afde9421ec20b03f2cf8a365eb6e6a75d12f5
1 #ifndef AROS_KERNEL_H
2 #define AROS_KERNEL_H
4 #include <inttypes.h>
6 #define TAG_USER 0x80000000
7 #define TAG_DONE 0
9 #define KRN_Dummy (TAG_USER + 0x03d00000)
10 #define KRN_KernelBase (KRN_Dummy + 1)
11 #define KRN_KernelLowest (KRN_Dummy + 2)
12 #define KRN_KernelHighest (KRN_Dummy + 3)
13 #define KRN_KernelBss (KRN_Dummy + 4)
14 #define KRN_GDT (KRN_Dummy + 5)
15 #define KRN_IDT (KRN_Dummy + 6)
16 #define KRN_PL4 (KRN_Dummy + 7)
17 #define KRN_VBEModeInfo (KRN_Dummy + 8)
18 #define KRN_VBEControllerInfo (KRN_Dummy + 9)
19 #define KRN_MMAPAddress (KRN_Dummy + 10)
20 #define KRN_MMAPLength (KRN_Dummy + 11)
21 #define KRN_CmdLine (KRN_Dummy + 12)
22 #define KRN_ProtAreaStart (KRN_Dummy + 13)
23 #define KRN_ProtAreaEnd (KRN_Dummy + 14)
24 #define KRN_VBEMode (KRN_Dummy + 15)
25 #define KRN_VBEPaletteWidth (KRN_Dummy + 16)
26 #define KRN_MEMLower (KRN_Dummy + 17)
27 #define KRN_MEMUpper (KRN_Dummy + 18)
28 #define KRN_OpenFirmwareTree (KRN_Dummy + 19)
29 #define KRN_DebugInfo (KRN_Dummy + 21)
31 #define AROS_BOOT_MAGIC (('A' << 24)|('R' << 16)|('O' << 8)|'S')
33 #endif /*AROS_KERNEL_H*/