revert between 56095 -> 55830 in arch
[AROS.git] / arch / arm-efika / kernel / kernel_cpu.h
bloba3b6633399953d0abf13cc5ed0ec83d51c5bbe66
1 /*
2 Copyright © 1995-2010, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: cpu_arm.h
6 Lang: english
7 */
9 #ifndef CPU_ARM_H_
10 #define CPU_ARM_H_
12 #include <inttypes.h>
14 #define EXCEPTIONS_COUNT 1
16 #define AROSCPUContext ExceptionContext
18 typedef struct {
19 uint32_t r[16];
20 } regs_t;
22 static inline uint32_t goSuper()
24 return 0;
27 static inline void goUser()
32 static inline void goBack(uint32_t mode)
37 static inline void ictl_enable_irq(uint8_t irq, struct KernelBase * KernelBase)
42 static inline void ictl_disable_irq(uint8_t irq, struct KernelBase * KernelBase)
47 static inline void krnSysCall(uint8_t n)
51 typedef uint8_t cpumode_t;
54 #define ARM_FPU_TYPE FPU_VFP
55 #define ARM_FPU_SIZE 32*64
57 #endif /* CPU_ARM_H_ */