2 * CPU-specific definitions.
4 * Architectures with the same CPU will likely share single kernel_cpu.h
5 * in arch/$(CPU)-all/kernel/kernel_cpu.h
7 * As you can see, this file is just a sample.
13 /* Number of exceptions supported by the CPU. Needed by kernel_base.h */
14 #define EXCEPTIONS_COUNT 1
16 /* CPU context stored in task's iet_Context. Just a dummy sample definition. */
22 typedef struct AROSCPUContext regs_t
;
24 /* User/supervisor mode switching */
25 #define cpumode_t __unused char
31 /* A command to issue a syscall */
32 #define krnSysCall(num)