From 71938e9fcdc7dcdcee180aaf1693bdfbc2f62749 Mon Sep 17 00:00:00 2001 From: jhb Date: Thu, 5 Oct 2000 23:09:57 +0000 Subject: - Heavyweight interrupt threads on the alpha for device I/O interrupts. - Make softinterrupts (SWI's) almost completely MI, and divorce them completely from the x86 hardware interrupt code. - The ihandlers array is now gone. Instead, there is a MI shandlers array that just contains SWI handlers. - Most of the former machine/ipl.h files have moved to a new sys/ipl.h. - Stub out all the spl*() functions on all architectures. Submitted by: dfr --- sys/isa/atrtc.c | 6 ------ sys/isa/sio.c | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) (limited to 'sys/isa') diff --git a/sys/isa/atrtc.c b/sys/isa/atrtc.c index 0e2c098..0e630d9 100644 --- a/sys/isa/atrtc.c +++ b/sys/isa/atrtc.c @@ -130,9 +130,7 @@ static void setup_8254_mixed_mode __P((void)); int adjkerntz; /* local offset from GMT in seconds */ int clkintr_pending; int disable_rtc_set; /* disable resettodr() if != 0 */ -volatile u_int idelayed; int statclock_disable; -u_int stat_imask = SWI_LOW_MASK; #ifndef TIMER_FREQ #define TIMER_FREQ 1193182 #endif @@ -143,9 +141,6 @@ int tsc_is_broken; int wall_cmos_clock; /* wall CMOS clock assumed if != 0 */ static int beeping = 0; -#if 0 -static u_int clk_imask = HWI_MASK | SWI_MASK; -#endif static const u_char daysinmonth[] = {31,28,31,30,31,30,31,31,30,31,30,31}; static u_int hardclock_max_count; static u_int32_t i8254_lastcount; @@ -1005,7 +1000,6 @@ cpu_initclocks() * flag which would normally cause the RTC to generate * interrupts. */ - stat_imask = HWI_MASK | SWI_MASK; rtc_statusb = RTCSB_24HR; } else { /* Setting stathz to nonzero early helps avoid races. */ diff --git a/sys/isa/sio.c b/sys/isa/sio.c index e80d10f..3a6ea18 100644 --- a/sys/isa/sio.c +++ b/sys/isa/sio.c @@ -64,6 +64,7 @@ #include #include #include +#include #include #include #include @@ -83,7 +84,6 @@ #include #include -#include #ifndef SMP #include #endif -- cgit v1.1