summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2003-08-21 20:45:44 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2003-08-21 20:45:44 +0000
commit0be1074516ff28f01a10658f182ef39aee3f998e (patch)
tree088775b79d730fe086cb9f97c319e46e19a150db
parent496f0161e0dfb5f9aaac5b7dc9265c910e7e136e (diff)
Use constants rather than hardcoded values for IPL levels.
-rw-r--r--sys/arch/mvme88k/mvme88k/eh.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/mvme88k/mvme88k/eh.S b/sys/arch/mvme88k/mvme88k/eh.S
index 294a28c4e43..ac2e5d1b513 100644
--- a/sys/arch/mvme88k/mvme88k/eh.S
+++ b/sys/arch/mvme88k/mvme88k/eh.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: eh.S,v 1.32 2003/08/13 08:52:44 miod Exp $ */
+/* $OpenBSD: eh.S,v 1.33 2003/08/21 20:45:43 miod Exp $ */
/*
* Mach Operating System
* Copyright (c) 1993-1991 Carnegie Mellon University
@@ -2079,14 +2079,14 @@ ASLOCAL(check_ast)
subu r31, r31, 32
bsr.n _C_LABEL(setipl)
- or r2,r0,1
+ or r2, r0, IPL_SOFTCLOCK
/* at ipl 1 now */
addu r31, r31, 32
bsr _C_LABEL(dosoftint)
/* is this needed? we are going to restore the ipl below XXX nivas */
subu r31, r31, 32
bsr.n _C_LABEL(setipl)
- or r2,r0,0 /* ints are enabled */
+ or r2, r0, IPL_NONE /* ints are enabled */
addu r31, r31, 32
/* at ipl 0 now */
1: