diff options
author | John Baldwin <jhb@FreeBSD.org> | 2000-10-25 05:19:40 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2000-10-25 05:19:40 +0000 |
commit | 8088699f795d34421f429d5539e8e68cbaf3115c (patch) | |
tree | 9894f99096605a24f42fc4e18482dead42b189a5 /sys/pc98/cbus/clock.c | |
parent | 650789cb1b390b2ef141e62d03f950d8bec38bd5 (diff) | |
download | src-8088699f795d34421f429d5539e8e68cbaf3115c.tar.gz src-8088699f795d34421f429d5539e8e68cbaf3115c.zip |
- Overhaul the software interrupt code to use interrupt threads for each
type of software interrupt. Roughly, what used to be a bit in spending
now maps to a swi thread. Each thread can have multiple handlers, just
like a hardware interrupt thread.
- Instead of using a bitmask of pending interrupts, we schedule the specific
software interrupt thread to run, so spending, NSWI, and the shandlers
array are no longer needed. We can now have an arbitrary number of
software interrupt threads. When you register a software interrupt
thread via sinthand_add(), you get back a struct intrhand that you pass
to sched_swi() when you wish to schedule your swi thread to run.
- Convert the name of 'struct intrec' to 'struct intrhand' as it is a bit
more intuitive. Also, prefix all the members of struct intrhand with
'ih_'.
- Make swi_net() a MI function since there is now no point in it being
MD.
Submitted by: cp
Notes
Notes:
svn path=/head/; revision=67551
Diffstat (limited to 'sys/pc98/cbus/clock.c')
-rw-r--r-- | sys/pc98/cbus/clock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pc98/cbus/clock.c b/sys/pc98/cbus/clock.c index 3cbf693822e4..f757a6a547b5 100644 --- a/sys/pc98/cbus/clock.c +++ b/sys/pc98/cbus/clock.c @@ -1298,7 +1298,7 @@ cpu_initclocks() { #ifdef APIC_IO int apic_8254_trial; - struct intrec *clkdesc; + struct intrhand *clkdesc; #endif /* APIC_IO */ #ifndef PC98 int diag; |