update the nightly configuration for x68_64 target to the newest toolchain. (NicJA)
[AROS.git] / rom / kernel / kernel.conf
blob72caae9db87117bdcea0ce065754c4f1b7ba1d86
1 ##begin config
2 version 3.1
3 residentpri 127
4 libbase KernelBase
5 libbasetype struct KernelBase
6 options noresident
7 ##end config
8 ##begin cdef
9 #include <aros/types/spinlock_s.h>
10 #include <aros/kernel.h>
11 #include <exec/memory.h>
12 #include <utility/tagitem.h>
13 #include <utility/hooks.h>
15 #include <inttypes.h>
16 #include <stdarg.h>
18 static inline void __inline_KrnPrintf(APTR __KernelBase, const char *format, ...)
20     va_list args;
22     va_start(args, format);
24     AROS_LC2(int, KrnBug,
25              AROS_LCA(const char *, format, A0),
26              AROS_LCA(va_list, args, A1),
27              APTR, __KernelBase, 12, Kernel);
29     va_end(args);
32 #define KrnPrintf(...) __inline_KrnPrintf(KernelBase, __VA_ARGS__)
34 ##end cdef
35 ##begin cdefprivate
36 #include <aros/types/spinlock_s.h>
37 #include <aros/kernel.h>
38 #include <kernel_base.h>
39 ##end cdefprivate
40 ##begin functionlist
41 KRN_SchedType KrnGetScheduler() ()
42 void KrnSetScheduler(KRN_SchedType sched) (D0)
43 void KrnCause() ()
44 void KrnDispatch() ()
45 void KrnSwitch() ()
46 void KrnSchedule() ()
47 void * KrnAddIRQHandler(uint32_t irq, void *handler, void *handlerData, void *handlerData2) (D0, A0, A1, A2)
48 void KrnRemIRQHandler(void * handle) (A0)
49 void KrnCli() ()
50 void KrnSti() ()
51 struct TagItem *KrnGetBootInfo() ()
52 int KrnBug(const char *format, va_list args) (A0, A1)
53 int KrnIsSuper() ()
54 void * KrnAddExceptionHandler(uint8_t irq, void *handler, void *handlerData, void *handlerData2) (D0, A0, A1, A2)
55 void KrnRemExceptionHandler(void * handle) (A0)
56 int KrnMapGlobal(void *virtual, void *physical, uint32_t length, KRN_MapAttr flags) (A0, A1, D0, D1)
57 int KrnUnmapGlobal(void *virtual, uint32_t length) (A0, D0)
58 void *KrnCreateContext() ()
59 void KrnDeleteContext(void *context) (A0)
60 void *KrnVirtualToPhysical(void *virt) (A0)
61 void KrnSetProtection(void *address, uint32_t length, KRN_MapAttr flags) (A0, D0, D1)
62 .skip 3 # These were debug info functions, moved to debug.library
63 void KrnPutChar(char c) (D0)
64 int KrnMayGetChar() ()
65 void *KrnAllocPages(void *addr, uintptr_t length, uint32_t flags) (A0, D0, D1)
66 void KrnFreePages(void *phy_addr, uintptr_t length) (A0, D0)
67 intptr_t KrnGetSystemAttr(uint32_t id) (D0)
68 int KrnFormatStr(void *putch, const char *format, va_list args) (A0, A1, A2)
69 void KrnInitMemory(struct MemHeader *mh) (A0)
70 ULONG KrnStatMemoryA(uint32_t flags, struct TagItem *query) (D0, A0)
71 int KrnObtainInput() ()
72 void KrnReleaseInput() ()
73 void KrnDisplayAlert(uint32_t code, const char *text) (D0, A0)
74 .skip 1 # One LVO is reserved here
75 void KrnModifyIRQHandler(void *handle, void *handlerData, void *handlerData2) (A0, A1, A2)
76 ULONG KrnAllocIRQ(ULONG irq_type, ULONG count) (D0, D1)
77 ULONG KrnModifyIRQA(ULONG irq, struct TagItem *attribs) (D0, A0)
78 unsigned int KrnGetCPUCount() ()
79 uint32_t KrnGetCPUNumber() ()
80 void *KrnAllocCPUMask() ()
81 void *KrnFreeCPUMask(void *) (A0)
82 void KrnClearCPUMask(void *) (A0)
83 void KrnGetCPUMask(uint32_t number, void *) (D0, A0)
84 BOOL KrnCPUInMask(uint32_t number, void *) (D0, A0)
85 void KrnScheduleCPU(void *mask) (A0)
86 .skip 1 # One LVO is reserved here
87 void KrnSpinInit(spinlock_t *lock) (A0)
88 int KrnSpinIsLocked(spinlock_t *lock) (A0)
89 spinlock_t *KrnSpinTryLock(spinlock_t *lock, ULONG mode) (A0, D0)
90 spinlock_t *KrnSpinLock(spinlock_t *lock, struct Hook *failhook, ULONG mode) (A1, A0, D0)
91 void KrnSpinUnLock(spinlock_t *lock) (A0)
92 .skip 1 # One LVO is reserved here for IPI
93 ##end functionlist