summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2016-03-29 19:56:48 +0000
committerkib <kib@FreeBSD.org>2016-03-29 19:56:48 +0000
commiteb986c64f5239300e8fa17a18d24d0d3c574a259 (patch)
tree86b22a48ae0e34ddaf12afd9af570d03f0861d94 /sys/amd64
parent66f03b034f8db0da7e045710e306342b6805aef1 (diff)
downloadFreeBSD-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/amd64')
-rw-r--r--sys/amd64/include/intr_machdep.h2
-rw-r--r--sys/amd64/include/md_var.h3
2 files changed, 1 insertions, 4 deletions
diff --git a/sys/amd64/include/intr_machdep.h b/sys/amd64/include/intr_machdep.h
index d37c795..22f9a49 100644
--- a/sys/amd64/include/intr_machdep.h
+++ b/sys/amd64/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/amd64/include/md_var.h b/sys/amd64/include/md_var.h
index ddeb257..e4c50eb 100644
--- a/sys/amd64/include/md_var.h
+++ b/sys/amd64/include/md_var.h
@@ -36,9 +36,6 @@
extern uint64_t *vm_page_dump;
-/* XXX */
-typedef void alias_for_inthand_t(u_int cs, u_int ef, u_int esp, u_int ss);
-
struct savefpu;
void amd64_db_resume_dbreg(void);
OpenPOWER on IntegriCloud