summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/atpic_vector.s
diff options
context:
space:
mode:
authoriedowse <iedowse@FreeBSD.org>2001-10-09 19:54:52 +0000
committeriedowse <iedowse@FreeBSD.org>2001-10-09 19:54:52 +0000
commit478926021cd002b82ec79025079ea1f70b890534 (patch)
treecad4d7a6717602ee2648b1e931f37e2c9f3104ad /sys/i386/isa/atpic_vector.s
parentffdeb5e0d78f9082409a5fc26f40eb5cf3344d60 (diff)
downloadFreeBSD-src-478926021cd002b82ec79025079ea1f70b890534.zip
FreeBSD-src-478926021cd002b82ec79025079ea1f70b890534.tar.gz
Remove the Xresume* labels from the i386 interrupt handlers; the
code in ipl.s and icu_ipl.s that used them was removed when the interrupt thread system was committed. Debuggers also knew about Xresume* because these labels hide the real names of the interrupt handlers (Xintr*), and debuggers need to special-case interrupt handlers to get the interrupt frame. Both gdb and ddb will now use the Xintr* and Xfastintr* symbols to detect interrupt frames. Fast interrupt frames were never identified correctly before, so this fixes the problem of the running stack frame getting lost in a ddb or gdb trace generated from a fast interrupt - e.g. when debugging a simple infinite loop in the kernel using a serial console, the frame containing the loop would never appear in a gdb or ddb trace. Reviewed by: jhb, bde
Diffstat (limited to 'sys/i386/isa/atpic_vector.s')
-rw-r--r--sys/i386/isa/atpic_vector.s1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/i386/isa/atpic_vector.s b/sys/i386/isa/atpic_vector.s
index 3a42af4..bd38dda 100644
--- a/sys/i386/isa/atpic_vector.s
+++ b/sys/i386/isa/atpic_vector.s
@@ -106,7 +106,6 @@ IDTVEC(vec_name) ; \
enable_icus ; \
movl PCPU(CURTHREAD),%ebx ; \
incl TD_INTR_NESTING_LEVEL(%ebx) ; \
-__CONCAT(Xresume,irq_num): ; \
FAKE_MCOUNT(13*4(%esp)) ; /* XXX late to avoid double count */ \
pushl $irq_num; /* pass the IRQ */ \
call sched_ithd ; \
OpenPOWER on IntegriCloud