Home | History | Annotate | Line # | Download | only in include
cpu.h revision 1.9
      1  1.9     soren /*	$NetBSD: cpu.h,v 1.9 2000/03/24 21:30:58 soren 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.9     soren 
     29  1.9     soren /*
     30  1.9     soren  * CTL_MACHDEP definitions.
     31  1.9     soren  */
     32  1.9     soren #define CPU_CONSDEV		1	/* dev_t: console terminal device */
     33  1.9     soren #define CPU_MAXID		2	/* number of valid machdep ids */
     34  1.9     soren 
     35  1.9     soren #define CTL_MACHDEP_NAMES { \
     36  1.9     soren 	{ 0, 0 }, \
     37  1.9     soren 	{ "console_device", CTLTYPE_STRUCT }, \
     38  1.9     soren }
     39  1.7      soda 
     40  1.7      soda #endif /* _ARC_CPU_H_ */
     41