1 /* $NetBSD: cpuvar.h,v 1.2 2011/02/20 07:47:38 matt Exp $ */ 2 3 #ifndef _SBMIPS_CPUVAR_H_ 4 #define _SBMIPS_CPUVAR_H_ 5 6 #include <mips/cpu.h> 7 8 #ifndef _LOCORE 9 struct cpu_softc { 10 device_t sb1cpu_dev; 11 struct cpu_info *sb1cpu_ci; 12 vaddr_t sb1cpu_imr_base; 13 uint64_t sb1cpu_imr_all; 14 struct evcnt sb1cpu_intr_evcnts[64]; 15 struct evcnt sb1cpu_spurious_intrs[_IPL_N]; 16 struct evcnt sb1cpu_intrs[_IPL_N]; 17 struct evcnt sb1cpu_int5; 18 }; 19 #endif /* _LOCORE */ 20 21 #endif /* !_SBMIPS_CPUVAR_H_ */ 22