Revert "pciusb.device: Rearrange some OHCI data structures, to prevent cache invalida...
[AROS.git] / rom / kernel / kernel_cpu.h
blob5032954f22a59d3a2f738171a46d6cde0c8aebb8
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 et_RegFrame. 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