White space fixes, detab.
[AROS.git] / rom / kernel / kernel_cpu.h
blob43b4f0f0b39db50bc2fb078525eddb97b9f5e677
1 /*
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.
8 */
10 #ifndef KERNEL_CPU_H_
11 #define KERNEL_CPU_H_
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. */
17 struct AROSCPUContext
19 IPTR pc;
22 typedef struct AROSCPUContext regs_t;
24 /* User/supervisor mode switching */
25 #define cpumode_t __unused char
27 #define goSuper() 0
28 #define goUser()
29 #define goBack(mode)
31 /* A command to issue a syscall */
32 #define krnSysCall(num)
34 #endif