summaryrefslogtreecommitdiff
path: root/sys/arch/sbmips/include/cpuvar.h
blob: da3c8fa456d57a2e96b04eeebcdc91e9d6989a81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* $NetBSD: cpuvar.h,v 1.2 2011/02/20 07:47:38 matt Exp $ */

#ifndef _SBMIPS_CPUVAR_H_
#define _SBMIPS_CPUVAR_H_

#include <mips/cpu.h>

#ifndef _LOCORE
struct cpu_softc {
	device_t sb1cpu_dev;
	struct cpu_info *sb1cpu_ci;
	vaddr_t sb1cpu_imr_base;
	uint64_t sb1cpu_imr_all;
	struct evcnt sb1cpu_intr_evcnts[64];
	struct evcnt sb1cpu_spurious_intrs[_IPL_N];
	struct evcnt sb1cpu_intrs[_IPL_N];
	struct evcnt sb1cpu_int5;
};
#endif /* _LOCORE */

#endif /* !_SBMIPS_CPUVAR_H_ */