Home | History | Annotate | Line # | Download | only in include
cpu.h revision 1.8
      1 /*	$NetBSD: cpu.h,v 1.8 2000/02/22 11:26:02 soda 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 #endif /* _ARC_CPU_H_ */
     30