diff options
author | kib <kib@FreeBSD.org> | 2016-03-29 19:56:48 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2016-03-29 19:56:48 +0000 |
commit | eb986c64f5239300e8fa17a18d24d0d3c574a259 (patch) | |
tree | 86b22a48ae0e34ddaf12afd9af570d03f0861d94 /sys/i386 | |
parent | 66f03b034f8db0da7e045710e306342b6805aef1 (diff) | |
download | FreeBSD-src-eb986c64f5239300e8fa17a18d24d0d3c574a259.zip FreeBSD-src-eb986c64f5239300e8fa17a18d24d0d3c574a259.tar.gz |
Type of the interrupt handlers on x86 cannot be expressed in C.
Simplify and unify placeholder type definitions.
Reviewed by: jhb
Sponsored by: The FreeBSD Foundation
Differential revision: https://reviews.freebsd.org/D5771
Diffstat (limited to 'sys/i386')
-rw-r--r-- | sys/i386/include/intr_machdep.h | 2 | ||||
-rw-r--r-- | sys/i386/include/md_var.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/sys/i386/include/intr_machdep.h b/sys/i386/include/intr_machdep.h index 0a2a6d5..d1be076 100644 --- a/sys/i386/include/intr_machdep.h +++ b/sys/i386/include/intr_machdep.h @@ -83,7 +83,7 @@ #ifndef LOCORE -typedef void inthand_t(u_int cs, u_int ef, u_int esp, u_int ss); +typedef void inthand_t(void); #define IDTVEC(name) __CONCAT(X,name) diff --git a/sys/i386/include/md_var.h b/sys/i386/include/md_var.h index f854373..c4c9ca9 100644 --- a/sys/i386/include/md_var.h +++ b/sys/i386/include/md_var.h @@ -46,7 +46,6 @@ extern int szosigcode; #endif extern uint32_t *vm_page_dump; -typedef void alias_for_inthand_t(u_int cs, u_int ef, u_int esp, u_int ss); struct segment_descriptor; union savefpu; |