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