diff options
author | jhb <jhb@FreeBSD.org> | 2005-12-05 22:39:09 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2005-12-05 22:39:09 +0000 |
commit | c77d4150b7c5ce1e4aa2a4f96822eca488501c18 (patch) | |
tree | 9cdb8f0e463918252ebdbf20d8430b6bc7d2687e /sys/i386/isa/icu.h | |
parent | 39d2052828536052e8b0193965215fdb8b5684ea (diff) | |
download | FreeBSD-src-c77d4150b7c5ce1e4aa2a4f96822eca488501c18.zip FreeBSD-src-c77d4150b7c5ce1e4aa2a4f96822eca488501c18.tar.gz |
Change the i386 code to pass the interrupt vector as a separate argument
rather than embedding it in the intrframe as if_vec. This reduces diffs
with amd64 somewhat.
- Remove cf_vec from clockframe (it wasn't used anyway) and stop pushing
dummy vector arguments for ipi_bitmap_handler() and lapic_handle_timer()
since clockframe == trapframe now.
- Fix ddb to handle stack traces across interrupt entry points that just
have a trapframe on their stack and not a trapframe + vector.
- Change intr_execute_handlers() to take a trapframe rather than an
intrframe pointer.
- Change lapic_handle_intr() and atpic_handle_intr() to take a vector and
trapframe rather than an intrframe.
- GC struct intrframe now that nothing uses it anymore.
- GC CLOCK_TO_TRAPFRAME() and INTR_TO_TRAPFRAME().
Reviewed by: bde
Requested by: peter
Diffstat (limited to 'sys/i386/isa/icu.h')
-rw-r--r-- | sys/i386/isa/icu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/isa/icu.h b/sys/i386/isa/icu.h index b882022..a74f183 100644 --- a/sys/i386/isa/icu.h +++ b/sys/i386/isa/icu.h @@ -47,7 +47,7 @@ #define ICU_IMR_OFFSET 1 #endif -void atpic_handle_intr(struct intrframe iframe); +void atpic_handle_intr(u_int vector, struct trapframe frame); void atpic_startup(void); #endif /* !_I386_ISA_ICU_H_ */ |