summaryrefslogtreecommitdiffstats
path: root/sys/x86/include/x86_var.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/x86/include/x86_var.h')
-rw-r--r--sys/x86/include/x86_var.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/x86/include/x86_var.h b/sys/x86/include/x86_var.h
index c349913..46ce1a0 100644
--- a/sys/x86/include/x86_var.h
+++ b/sys/x86/include/x86_var.h
@@ -86,6 +86,13 @@ struct fpreg;
struct dbreg;
struct dumperinfo;
+/*
+ * The interface type of the interrupt handler entry point cannot be
+ * expressed in C. Use simplest non-variadic function type as an
+ * approximation.
+ */
+typedef void alias_for_inthand_t(void);
+
void *alloc_fpusave(int flags);
void busdma_swi(void);
bool cpu_mwait_usable(void);
OpenPOWER on IntegriCloud