- Written architecture-independant exec.library/RawPutChar()
[AROS.git] / arch / all-mingw32 / include / aros / kernel.h
blobc409c04d51ce9ec1d3338cb485fee34df9ffa834
1 #ifndef AROS_KERNEL_H
2 #define AROS_KERNEL_H
4 #include <utility/tagitem.h>
5 #include <stdarg.h>
7 typedef enum {
8 SCHED_RR = 1
9 } KRN_SchedType;
11 #define KRN_Dummy (TAG_USER + 0x03d00000)
12 #define KRN_KernelBase (KRN_Dummy + 1)
13 #define KRN_KernelLowest (KRN_Dummy + 2)
14 #define KRN_KernelHighest (KRN_Dummy + 3)
15 #define KRN_KernelBss (KRN_Dummy + 4)
16 #define KRN_GDT (KRN_Dummy + 5)
17 #define KRN_IDT (KRN_Dummy + 6)
18 #define KRN_PL4 (KRN_Dummy + 7)
19 #define KRN_VBEModeInfo (KRN_Dummy + 8)
20 #define KRN_VBEControllerInfo (KRN_Dummy + 9)
21 #define KRN_MMAPAddress (KRN_Dummy + 10)
22 #define KRN_MMAPLength (KRN_Dummy + 11)
23 #define KRN_CmdLine (KRN_Dummy + 12)
24 #define KRN_ProtAreaStart (KRN_Dummy + 13)
25 #define KRN_ProtAreaEnd (KRN_Dummy + 14)
26 #define KRN_VBEMode (KRN_Dummy + 15)
27 #define KRN_VBEPaletteWidth (KRN_Dummy + 16)
28 #define KRN_MEMLower (KRN_Dummy + 17)
29 #define KRN_MEMUpper (KRN_Dummy + 18)
30 #define KRN__TAGCOUNT (18)
32 /* The following structure is private for now */
33 struct HostInterface
35 void *(*HostLib_Open)(const char *, char**);
36 int (*HostLib_Close)(void *, char **);
37 void *(*HostLib_GetPointer)(void *, const char *, char **);
38 void (*HostLib_FreeErrorStr)(char *);
39 unsigned long (*HostLib_GetInterface)(void *, char **, void **);
40 int (*VKPrintF)(const char *, va_list);
41 int (*PutChar)(int c);
44 #endif /*AROS_ KERNEL_H*/