xref: /netbsd/sys/arch/arc/include/cpu.h (revision bf9ec67e)
1 /*	$NetBSD: cpu.h,v 1.17 2001/09/04 06:19:22 simonb Exp $	*/
2 /*	$OpenBSD: cpu.h,v 1.9 1998/01/28 13:46:10 pefo Exp $ */
3 
4 #ifndef _ARC_CPU_H_
5 #define _ARC_CPU_H_
6 
7 /*
8  *  Internal timer causes hard interrupt 5.
9  */
10 #define MIPS_INT_MASK_CLOCK	MIPS_INT_MASK_5
11 
12 #include <mips/cpu.h>
13 #include <mips/cpuregs.h>
14 
15 /*
16  * definitions of cpu-dependent requirements
17  * referenced in generic code
18  */
19 #define	COPY_SIGCODE		/* copy sigcode above user stack in exec */
20 
21 #define	INT_MASK_REAL_DEV	MIPS3_HARD_INT_MASK	/* XXX */
22 
23 #ifndef _LOCORE
24 struct tlb;
25 extern void mips3_TLBWriteIndexedVPS __P((u_int index, struct tlb *tlb));
26 #endif /* ! _LOCORE */
27 
28 #endif /* _ARC_CPU_H_ */
29