Updated PCI IDs to latest snapshot.
[tangerine.git] / compiler / include / aros / kernel.h
blob496a088ea54e7d773a93da788a94ac21f0c65c27
1 #ifndef AROS_KERNEL_H
2 #define AROS_KERNEL_H
4 /*
5 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 $Id$
8 Desc: TagItems for the kernel.resource
9 Lang: english
12 #include <utility/tagitem.h>
14 /* Type of scheduler. See KrnGetScheduler()/KrnSetScheduler() functions. */
15 typedef enum {
16 SCHED_RR = 1 /* Old good round robin scheduler */
17 } KRN_SchedType;
19 /* Flags for KrnMapGlobal */
20 typedef enum {
21 MAP_CacheInhibit = 0x0001,
22 MAP_WriteThrough = 0x0002,
23 MAP_Guarded = 0x0004,
25 MAP_Readable = 0x0100,
26 MAP_Writable = 0x0200,
27 MAP_Executable = 0x0400,
28 } KRN_MapAttr;
30 #define KRN_Dummy (TAG_USER + 0x03d00000)
31 #define KRN_KernelBase (KRN_Dummy + 1)
32 #define KRN_KernelLowest (KRN_Dummy + 2)
33 #define KRN_KernelHighest (KRN_Dummy + 3)
34 #define KRN_KernelBss (KRN_Dummy + 4)
35 #define KRN_GDT (KRN_Dummy + 5)
36 #define KRN_IDT (KRN_Dummy + 6)
37 #define KRN_PL4 (KRN_Dummy + 7)
38 #define KRN_VBEModeInfo (KRN_Dummy + 8)
39 #define KRN_VBEControllerInfo (KRN_Dummy + 9)
40 #define KRN_MMAPAddress (KRN_Dummy + 10)
41 #define KRN_MMAPLength (KRN_Dummy + 11)
42 #define KRN_CmdLine (KRN_Dummy + 12)
43 #define KRN_ProtAreaStart (KRN_Dummy + 13)
44 #define KRN_ProtAreaEnd (KRN_Dummy + 14)
45 #define KRN_VBEMode (KRN_Dummy + 15)
46 #define KRN_VBEPaletteWidth (KRN_Dummy + 16)
47 #define KRN_MEMLower (KRN_Dummy + 17)
48 #define KRN_MEMUpper (KRN_Dummy + 18)
49 #define KRN_OpenFirmwareTree (KRN_Dummy + 19)
50 #define KRN_HostInterface (KRN_Dummy + 20)
51 #define KRN_DebugInfo (KRN_Dummy + 21)
52 #define KRN_BootLoader (KRN_Dummy + 22)
54 #endif /* AROS_KERNEL_H */