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

22 lines
473 B
C

/* $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 */
#ifdef ENABLE_MIPS_TX3900
#define INT_MASK_REAL_DEV MIPS_HARD_INT_MASK
#else
#define INT_MASK_REAL_DEV MIPS3_HARD_INT_MASK /* XXX */
#endif
#endif __HPCMIPS_CPU_H