2001-09-04 10:19:21 +04:00
|
|
|
/* $NetBSD: cpu.h,v 1.17 2001/09/04 06:19:22 simonb Exp $ */
|
2000-02-22 14:25:55 +03:00
|
|
|
/* $OpenBSD: cpu.h,v 1.9 1998/01/28 13:46:10 pefo Exp $ */
|
2000-01-24 00:01:48 +03:00
|
|
|
|
|
|
|
#ifndef _ARC_CPU_H_
|
|
|
|
#define _ARC_CPU_H_
|
|
|
|
|
2000-05-09 11:27:04 +04:00
|
|
|
/*
|
|
|
|
* Internal timer causes hard interrupt 5.
|
|
|
|
*/
|
|
|
|
#define MIPS_INT_MASK_CLOCK MIPS_INT_MASK_5
|
|
|
|
|
2000-01-23 23:08:18 +03:00
|
|
|
#include <mips/cpu.h>
|
2000-03-31 01:37:51 +04:00
|
|
|
#include <mips/cpuregs.h>
|
2000-01-23 23:08:18 +03:00
|
|
|
|
|
|
|
/*
|
|
|
|
* definitions of cpu-dependent requirements
|
|
|
|
* referenced in generic code
|
|
|
|
*/
|
|
|
|
#define COPY_SIGCODE /* copy sigcode above user stack in exec */
|
2000-01-24 00:01:48 +03:00
|
|
|
|
2000-05-09 11:27:04 +04:00
|
|
|
#define INT_MASK_REAL_DEV MIPS3_HARD_INT_MASK /* XXX */
|
|
|
|
|
2000-01-24 00:01:48 +03:00
|
|
|
#ifndef _LOCORE
|
|
|
|
struct tlb;
|
|
|
|
extern void mips3_TLBWriteIndexedVPS __P((u_int index, struct tlb *tlb));
|
|
|
|
#endif /* ! _LOCORE */
|
|
|
|
|
|
|
|
#endif /* _ARC_CPU_H_ */
|