25 lines
629 B
C
25 lines
629 B
C
/* $NetBSD: cpu.h,v 1.4 1996/08/11 23:30:25 jonathan Exp $ */
|
|
|
|
#include <mips/cpu.h>
|
|
#include <mips/cpuregs.h>
|
|
|
|
/*
|
|
* definitions of cpu-dependent requirements
|
|
* referenced in generic code
|
|
*/
|
|
#define COPY_SIGCODE /* copy sigcode above user stack in exec */
|
|
|
|
#define CLKF_USERMODE(framep) CLKF_USERMODE_R4K(framep)
|
|
#define CLKF_BASEPRI(framep) CLKF_BASEPRI_R4K(framep)
|
|
|
|
#ifdef _KERNEL
|
|
union cpuprid cpu_id;
|
|
union cpuprid fpu_id;
|
|
u_int machPrimaryDataCacheSize;
|
|
u_int machPrimaryInstCacheSize;
|
|
u_int machPrimaryDataCacheLSize;
|
|
u_int machPrimaryInstCacheLSize;
|
|
u_int machCacheAliasMask;
|
|
extern struct intr_tab intr_tab[];
|
|
#endif
|