NetBSD/sys/arch/hpcmips/include/cpu.h

22 lines
473 B
C
Raw Normal View History

1999-11-21 10:04:31 +03:00
/* $NetBSD: cpu.h,v 1.2 1999/11/21 07:04:33 uch Exp $ */
#ifndef __HPCMIPS_CPU_H
#define __HPCMIPS_CPU_H
/*
* VR4100: Internal timer causes hard interrupt 5.
*/
#define MIPS3_INTERNAL_TIMER_INTERRUPT
#define MIPS_INT_MASK_CLOCK MIPS_INT_MASK_5
#include <mips/cpu.h>
#include <mips/cpuregs.h> /* XXX */
1999-11-21 10:04:31 +03:00
#ifdef ENABLE_MIPS_TX3900
#define INT_MASK_REAL_DEV MIPS_HARD_INT_MASK
#else
#define INT_MASK_REAL_DEV MIPS3_HARD_INT_MASK /* XXX */
1999-11-21 10:04:31 +03:00
#endif
#endif __HPCMIPS_CPU_H