revert between 56095 -> 55830 in arch
[AROS.git] / arch / all-unix / kernel / kernel_cpu.h
blob45bfa388e930cc4e526f564935aaa47b5979e117
1 #ifndef KERNEL_CPU_H_
2 #define KERNEL_CPU_H_
4 /* First include CPU-dependent definitions */
6 #ifdef __i386__
7 #include <cpu_i386.h>
8 #endif
9 #ifdef __ppc__
10 #include <cpu_ppc.h>
11 #endif
12 #ifdef __arm__
13 #include <cpu_arm.h>
14 #endif
15 #ifdef __x86_64__
16 #include <cpu_x86_64.h>
17 #endif
19 /* This macro serves as an indicator of included file */
20 #ifndef EXCEPTIONS_COUNT
21 #error Unsupported CPU
22 #endif
24 /* Some common definitions */
25 #define cpumode_t __unused char
27 #define goSuper() 0
28 #define goUser()
29 #define goBack(mode)
31 void unix_SysCall(unsigned char n, struct KernelBase *KernelBase);
32 #define krnSysCall(n) unix_SysCall(n, KernelBase)
34 #endif