1 2 #ifndef _ARM_TYPES_H 3 #define _ARM_TYPES_H 4 5 #include <minix/sys_config.h> 6 #include <machine/stackframe.h> 7 #include <sys/cdefs.h> 8 9 typedef struct segframe { 10 reg_t p_ttbr; /* page table root */ 11 u32_t *p_ttbr_v; 12 char *fpu_state; 13 } segframe_t; 14 15 struct cpu_info { 16 u32_t arch; 17 u32_t implementer; 18 u32_t part; 19 u32_t variant; 20 u32_t freq; /* in MHz */ 21 u32_t revision; 22 }; 23 24 typedef u32_t atomic_t; /* access to an aligned 32bit value is atomic on ARM */ 25 26 #endif /* #ifndef _ARM_TYPES_H */ 27 28