diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-03-24 17:26:26 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-03-24 17:26:26 +0000 |
commit | 77fe2df75e23cea2c9d62e5b25a796c31a221234 (patch) | |
tree | c1a0bcd07c4eba877c38dd63875dfffcb5535ac9 /sys/arch/amiga/dev/clock.c | |
parent | 6d636619d1bb24932306f0a341fa7ae66050828f (diff) |
Use IPL_ constants instead of numeric values. Get rid of sicallbacks
in favour of the remapped IPL facility. Some argument type fixes as
well.
Diffstat (limited to 'sys/arch/amiga/dev/clock.c')
-rw-r--r-- | sys/arch/amiga/dev/clock.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/amiga/dev/clock.c b/sys/arch/amiga/dev/clock.c index c30284cdd60..481841c958f 100644 --- a/sys/arch/amiga/dev/clock.c +++ b/sys/arch/amiga/dev/clock.c @@ -182,7 +182,7 @@ cpu_initclocks() #if defined(IPL_REMAP_1) || defined(IPL_REMAP_2) isr.isr_intr = clockintr; isr.isr_ipl = 6; - isr.isr_mapped_ipl = 4; + isr.isr_mapped_ipl = IPL_CLOCK; add_isr(&isr); #else /* @@ -265,7 +265,7 @@ setmicspertick() */ void delay(mic) - int mic; + u_int mic; { u_int temp; int s; @@ -348,7 +348,7 @@ delay(mic) */ void DELAY(mic) - int mic; + u_int mic; { u_long n; short hpos; |