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