diff options
author | msmith <msmith@FreeBSD.org> | 2000-10-28 07:29:08 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 2000-10-28 07:29:08 +0000 |
commit | e170b01108793ca1debcd3fea81f88832987d7a6 (patch) | |
tree | 9520440caf79ed3b4927b9704cfc6ae0804ae236 /sys/contrib/dev/acpica/Subsystem/Include/acgcc.h | |
parent | 37860cc264b884f225545a9082870edbc577ec97 (diff) | |
download | FreeBSD-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.h | 4 |
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 * |