NetBSD/sys/arch/pica/include/cpu.h
jonathan 99b43cc2bc * Apply LOCORE -> _LOCORE change so locore.S doesn't #include struct
definitions.

* Include <mips/cpuregs.h> in <cpu.h> so kern_clock.c has user/kernel
  status bits in scope.  Still needs  work; r2k/r4k previous-mode bits
  are different.

* Include <mips/mips_param.h> in pica/include/param.h, for locore declarations,
  and definitions of vm and  other constants that should be shared across
  NetBSD/mips  systems to esnsure user-level binary compatibility.
1996-08-11 23:30:22 +00:00

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