1 /* $NetBSD: cpu.h,v 1.9 2000/03/24 21:30:58 soren 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 MIPS3_INTERNAL_TIMER_INTERRUPT 11 #define MIPS_INT_MASK_CLOCK MIPS_INT_MASK_5 12 13 #include <mips/cpu.h> 14 #include <machine/cpuregs.h> 15 16 /* 17 * definitions of cpu-dependent requirements 18 * referenced in generic code 19 */ 20 #define COPY_SIGCODE /* copy sigcode above user stack in exec */ 21 22 #define INT_MASK_REAL_DEV MIPS3_HARD_INT_MASK /* XXX */ 23 24 #ifndef _LOCORE 25 struct tlb; 26 extern void mips3_TLBWriteIndexedVPS __P((u_int index, struct tlb *tlb)); 27 #endif /* ! _LOCORE */ 28 29 /* 30 * CTL_MACHDEP definitions. 31 */ 32 #define CPU_CONSDEV 1 /* dev_t: console terminal device */ 33 #define CPU_MAXID 2 /* number of valid machdep ids */ 34 35 #define CTL_MACHDEP_NAMES { \ 36 { 0, 0 }, \ 37 { "console_device", CTLTYPE_STRUCT }, \ 38 } 39 40 #endif /* _ARC_CPU_H_ */ 41