1 1.17.30.1 kent /* $NetBSD: cpu.h,v 1.17.30.1 2005/04/29 11:28:01 kent 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.14 soda /* 8 1.14 soda * Internal timer causes hard interrupt 5. 9 1.14 soda */ 10 1.14 soda #define MIPS_INT_MASK_CLOCK MIPS_INT_MASK_5 11 1.14 soda 12 1.2 jonathan #include <mips/cpu.h> 13 1.11 soren #include <mips/cpuregs.h> 14 1.1 jonathan 15 1.1 jonathan /* 16 1.1 jonathan * definitions of cpu-dependent requirements 17 1.1 jonathan * referenced in generic code 18 1.1 jonathan */ 19 1.1 jonathan #define COPY_SIGCODE /* copy sigcode above user stack in exec */ 20 1.14 soda 21 1.14 soda #define INT_MASK_REAL_DEV MIPS3_HARD_INT_MASK /* XXX */ 22 1.7 soda 23 1.7 soda #ifndef _LOCORE 24 1.7 soda struct tlb; 25 1.17.30.1 kent extern void mips3_TLBWriteIndexedVPS(u_int index, struct tlb *tlb); 26 1.7 soda #endif /* ! _LOCORE */ 27 1.7 soda 28 1.7 soda #endif /* _ARC_CPU_H_ */ 29