1 1.8 soda /* $NetBSD: cpu.h,v 1.8 2000/02/22 11:26:02 soda Exp $ */ 2 1.8 soda /* $OpenBSD: cpu.h,v 1.9 1998/01/28 13:46:10 pefo Exp $ */ 3 1.7 soda 4 1.7 soda #ifndef _ARC_CPU_H_ 5 1.7 soda #define _ARC_CPU_H_ 6 1.7 soda 7 1.7 soda /* 8 1.7 soda * Internal timer causes hard interrupt 5. 9 1.7 soda */ 10 1.7 soda #define MIPS3_INTERNAL_TIMER_INTERRUPT 11 1.7 soda #define MIPS_INT_MASK_CLOCK MIPS_INT_MASK_5 12 1.1 jonathan 13 1.2 jonathan #include <mips/cpu.h> 14 1.7 soda #include <machine/cpuregs.h> 15 1.1 jonathan 16 1.1 jonathan /* 17 1.1 jonathan * definitions of cpu-dependent requirements 18 1.1 jonathan * referenced in generic code 19 1.1 jonathan */ 20 1.1 jonathan #define COPY_SIGCODE /* copy sigcode above user stack in exec */ 21 1.7 soda 22 1.7 soda #define INT_MASK_REAL_DEV MIPS3_HARD_INT_MASK /* XXX */ 23 1.7 soda 24 1.7 soda #ifndef _LOCORE 25 1.7 soda struct tlb; 26 1.7 soda extern void mips3_TLBWriteIndexedVPS __P((u_int index, struct tlb *tlb)); 27 1.7 soda #endif /* ! _LOCORE */ 28 1.7 soda 29 1.7 soda #endif /* _ARC_CPU_H_ */ 30