xref: /haiku/headers/private/kernel/arch/arm/arch_cpu.h (revision 4466b89c65970de4c7236ac87faa2bee4589f413)
1 /*
2 ** Copyright 2003-2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
3 ** Distributed under the terms of the Haiku License.
4 */
5 #ifndef _KERNEL_ARCH_ARM_CPU_H
6 #define _KERNEL_ARCH_ARM_CPU_H
7 
8 #ifndef _ASSEMBLER
9 
10 #include <arch/arm/arch_thread_types.h>
11 #include <kernel.h>
12 
13 /* raw exception frames */
14 struct iframe {
15 	uint32 r0;
16 	uint32 r1;
17 	uint32 r2;
18 	uint32 r3;
19 	uint32 r4;
20 	uint32 r5;
21 	uint32 r6;
22 	uint32 r7;
23 	uint32 r8;
24 	uint32 r9;
25 	uint32 r10;
26 	uint32 r11;
27 	uint32 r12;
28 	uint32 r13;
29 	uint32 lr;
30 	uint32 pc;
31 	uint32 cpsr;
32 } _PACKED;
33 
34 typedef struct arch_cpu_info {
35 } arch_cpu_info;
36 
37 extern int arch_cpu_type;
38 extern int arch_fpu_type;
39 extern int arch_mmu_type;
40 extern int arch_platform;
41 extern int arch_machine;
42 
43 #endif	// !_ASSEMBLER
44 
45 #endif	/* _KERNEL_ARCH_ARM_CPU_H */
46