revert between 56095 -> 55830 in arch
[AROS.git] / rom / kernel / kernel_cpu.h
blob3864b9982d307c0c5cf9bbfee291c8b1fc689585
1 #ifndef KERNEL_CPU_H_
2 #define KERNEL_CPU_H_
3 /*
4 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
5 $Id$
7 Desc: CPU-specific definitions.
8 */
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 /* Number of exceptions supported by the CPU. Needed by kernel_base.h */
18 #define EXCEPTIONS_COUNT 1
20 /* CPU context stored in task's et_RegFrame. Just a dummy sample definition. */
21 struct AROSCPUContext
23 IPTR pc;
26 typedef struct AROSCPUContext regs_t;
28 /* User/supervisor mode switching */
29 #define cpumode_t __unused char
31 #define goSuper() 0
32 #define goUser()
33 #define goBack(mode)
35 /* A command to issue a syscall */
36 #define krnSysCall(num)
38 #endif