summaryrefslogtreecommitdiffstats
path: root/sys/contrib/dev/acpica/Subsystem/Include/acgcc.h
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>2000-10-28 07:29:08 +0000
committermsmith <msmith@FreeBSD.org>2000-10-28 07:29:08 +0000
commite170b01108793ca1debcd3fea81f88832987d7a6 (patch)
tree9520440caf79ed3b4927b9704cfc6ae0804ae236 /sys/contrib/dev/acpica/Subsystem/Include/acgcc.h
parent37860cc264b884f225545a9082870edbc577ec97 (diff)
downloadFreeBSD-src-e170b01108793ca1debcd3fea81f88832987d7a6.zip
FreeBSD-src-e170b01108793ca1debcd3fea81f88832987d7a6.tar.gz
FreeBSD-specific customisations:
- Set debugger options for kernel build - Define some missing functions - Bring in GCC defines - Disable the 'wbinvd' macro as it conflicts with our inline
Diffstat (limited to 'sys/contrib/dev/acpica/Subsystem/Include/acgcc.h')
-rw-r--r--sys/contrib/dev/acpica/Subsystem/Include/acgcc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/contrib/dev/acpica/Subsystem/Include/acgcc.h b/sys/contrib/dev/acpica/Subsystem/Include/acgcc.h
index 9689664..7711d66 100644
--- a/sys/contrib/dev/acpica/Subsystem/Include/acgcc.h
+++ b/sys/contrib/dev/acpica/Subsystem/Include/acgcc.h
@@ -131,7 +131,9 @@
#define BREAKPOINT3
#define disable() __cli()
#define enable() __sti()
+#ifndef __FreeBSD__ /* XXX conflicts with inline in cpufunc.h */
#define wbinvd()
+#endif
/*! [Begin] no source code translation */
@@ -194,7 +196,9 @@
#define disable() __cli()
#define enable() __sti()
#define halt() __asm__ __volatile__ ("sti; hlt":::"memory")
+#ifndef __FreeBSD__ /* XXX conflicts with inline in cpufunc.h */
#define wbinvd()
+#endif
/*! [Begin] no source code translation
*
OpenPOWER on IntegriCloud