include machine/intr.h
CACHELINESIZE enabled with defined(_STANDALONE).
This commit is contained in:
parent
943b8c34be
commit
4364147a17
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: cpu.h,v 1.4 1999/04/17 21:16:46 ws Exp $ */
|
||||
/* $NetBSD: cpu.h,v 1.5 1999/06/24 01:28:02 sakamoto Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (C) 1995-1997 Wolfgang Solfrank.
|
||||
|
@ -35,6 +35,7 @@
|
|||
|
||||
#include <machine/frame.h>
|
||||
#include <machine/psl.h>
|
||||
#include <machine/intr.h>
|
||||
|
||||
#define CLKF_USERMODE(frame) (((frame)->srr1 & PSL_PR) != 0)
|
||||
#define CLKF_BASEPRI(frame) ((frame)->pri == 0)
|
||||
|
@ -44,7 +45,7 @@
|
|||
#define cpu_swapout(p)
|
||||
#define cpu_wait(p)
|
||||
|
||||
extern void delay __P((int));
|
||||
extern void delay __P((unsigned int));
|
||||
#define DELAY(n) delay(n)
|
||||
|
||||
extern volatile int want_resched;
|
||||
|
@ -56,7 +57,7 @@ extern volatile int astpending;
|
|||
|
||||
extern char *bootpath;
|
||||
|
||||
#ifdef _KERNEL
|
||||
#if defined(_KERNEL) || defined(_STANDALONE)
|
||||
#define CACHELINESIZE 32
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue