diff options
Diffstat (limited to 'sys/arch/mvmeppc/include/intr.h')
-rw-r--r-- | sys/arch/mvmeppc/include/intr.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/arch/mvmeppc/include/intr.h b/sys/arch/mvmeppc/include/intr.h index 0093a81410a..00ded9826a9 100644 --- a/sys/arch/mvmeppc/include/intr.h +++ b/sys/arch/mvmeppc/include/intr.h @@ -1,4 +1,4 @@ -/* $OpenBSD: intr.h,v 1.1 2001/06/26 21:57:46 smurph Exp $ */ +/* $OpenBSD: intr.h,v 1.2 2001/07/06 05:14:30 smurph Exp $ */ /* * Copyright (c) 1997 Per Fogelstrom, Opsycon AB and RTMX Inc, USA. @@ -64,8 +64,8 @@ int splsoftnet __P((void)); void do_pending_int __P((void)); -volatile int cpl, ipending, astpending, tickspending; -int imask[7]; +volatile extern int cpl, ipending, astpending, tickspending; +extern int imask[7]; /* * Reorder protection in the following inline functions is @@ -136,6 +136,7 @@ set_sint(pending) #define spltty() splraise(imask[IPL_TTY]) #define splclock() splraise(SPL_CLOCK|SINT_MASK) #define splimp() splraise(imask[IPL_IMP]) +#define splvm() splraise(imask[IPL_IMP]) #define splstatclock() splhigh() #define spllowersoftclock() spllower(SINT_CLOCK) #define splsoftclock() splraise(SINT_CLOCK) @@ -165,6 +166,7 @@ struct intrhand { extern int ppc_configed_intr_cnt; #define MAX_PRECONF_INTR 16 extern struct intrhand ppc_configed_intr[MAX_PRECONF_INTR]; +void softnet(int isr); #endif /* _LOCORE */ |