diff options
author | John Baldwin <jhb@FreeBSD.org> | 2003-11-12 18:13:57 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2003-11-12 18:13:57 +0000 |
commit | bd9cd7e3f7bdac5d9ef762131b797d73457a1086 (patch) | |
tree | a6db7827fd51e3e1f795b089a12eea492087060b /sys/i386/include/clock.h | |
parent | f142677b4614231eebff20b8f1472d08310af454 (diff) |
- Move manipulation of td_intr_nesting_level out of assembly interrupt
vector stubs and into the C functions they call.
- Move disabling and EOIing of interrupt sources out of PIC driver entry
points and into intr_execute_handlers(). Intr_execute_handlers() only
disables a source for an interrupt if it is a stray interrupt or has
threaded handlers. Sources with fast handlers no longer disable (mask)
the source while executing the handlers.
- Move the setting of clkintr_pending into intr_execute_handlers() and set
the variable for any interrupt source with a vector of 0. (Should only
be true for IRQ 0.) This fixes clkintr_pending in the NO_MIXED_MODE
case.
- Implement lapic_eoi() and use it to implement ioapic_eoi_source().
- Rename atpic_sched_ithd() to atpic_handle_intr() since it is used to
handle all atpic interrupts and not just threaded ones.
Inspired by: peter's changes to amd64 in p4 (1)
Requested by: bde (2)
Notes
Notes:
svn path=/head/; revision=122572
Diffstat (limited to 'sys/i386/include/clock.h')
-rw-r--r-- | sys/i386/include/clock.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/i386/include/clock.h b/sys/i386/include/clock.h index f257809bc34c..1ee85620e621 100644 --- a/sys/i386/include/clock.h +++ b/sys/i386/include/clock.h @@ -15,6 +15,7 @@ * XXX large parts of the driver and its interface are misplaced. */ extern int adjkerntz; +extern int clkintr_pending; extern int disable_rtc_set; extern int pscnt; extern int psdiv; |