Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/bebox/include include machine/intr.h



details:   https://anonhg.NetBSD.org/src/rev/81a3b7065de4
branches:  trunk
changeset: 473974:81a3b7065de4
user:      sakamoto <sakamoto%NetBSD.org@localhost>
date:      Thu Jun 24 01:28:02 1999 +0000

description:
include machine/intr.h
CACHELINESIZE enabled with defined(_STANDALONE).

diffstat:

 sys/arch/bebox/include/cpu.h |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (35 lines):

diff -r 3f0e8d440266 -r 81a3b7065de4 sys/arch/bebox/include/cpu.h
--- a/sys/arch/bebox/include/cpu.h      Thu Jun 24 01:22:19 1999 +0000
+++ b/sys/arch/bebox/include/cpu.h      Thu Jun 24 01:28:02 1999 +0000
@@ -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 char *bootpath;
 
-#ifdef _KERNEL
+#if defined(_KERNEL) || defined(_STANDALONE)
 #define        CACHELINESIZE   32
 #endif
 



Home | Main Index | Thread Index | Old Index