oops .. forgot to offset from objects bounds
[AROS.git] / rom / kernel / kernel_cpu.h
blob4460710eb70fc77d4c0438b3752d51f621f2c7b1
1 /*
2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc:
6 */
8 /*
9 * CPU-specific definitions.
11 * Architectures with the same CPU will likely share single kernel_cpu.h
12 * in arch/$(CPU)-all/kernel/kernel_cpu.h
14 * As you can see, this file is just a sample.
17 #ifndef KERNEL_CPU_H_
18 #define KERNEL_CPU_H_
20 /* Number of exceptions supported by the CPU. Needed by kernel_base.h */
21 #define EXCEPTIONS_COUNT 1
23 /* CPU context stored in task's et_RegFrame. Just a dummy sample definition. */
24 struct AROSCPUContext
26 IPTR pc;
29 typedef struct AROSCPUContext regs_t;
31 /* User/supervisor mode switching */
32 #define cpumode_t __unused char
34 #define goSuper() 0
35 #define goUser()
36 #define goBack(mode)
38 /* A command to issue a syscall */
39 #define krnSysCall(num)
41 #endif