1996-08-12 03:30:22 +04:00
|
|
|
/* $NetBSD: cpu.h,v 1.4 1996/08/11 23:30:25 jonathan Exp $ */
|
1996-03-13 07:58:04 +03:00
|
|
|
|
1996-03-24 10:54:42 +03:00
|
|
|
#include <mips/cpu.h>
|
1996-08-12 03:30:22 +04:00
|
|
|
#include <mips/cpuregs.h>
|
1996-03-13 07:58:04 +03:00
|
|
|
|
|
|
|
/*
|
|
|
|
* definitions of cpu-dependent requirements
|
|
|
|
* referenced in generic code
|
|
|
|
*/
|
|
|
|
#define COPY_SIGCODE /* copy sigcode above user stack in exec */
|
|
|
|
|
1996-03-31 08:16:46 +04:00
|
|
|
#define CLKF_USERMODE(framep) CLKF_USERMODE_R4K(framep)
|
1996-03-24 10:54:42 +03:00
|
|
|
#define CLKF_BASEPRI(framep) CLKF_BASEPRI_R4K(framep)
|
1996-03-13 07:58:04 +03:00
|
|
|
|
|
|
|
#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
|