X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/2d21ac55c334faf3a56e5634905ed6987fc787d4..527f99514973766e9c0382a4d8550dfb00f54939:/osfmk/i386/vmx.h?ds=sidebyside diff --git a/osfmk/i386/vmx.h b/osfmk/i386/vmx.h index 132baf088..e1776c521 100644 --- a/osfmk/i386/vmx.h +++ b/osfmk/i386/vmx.h @@ -29,6 +29,12 @@ #ifndef _I386_VMX_H_ #define _I386_VMX_H_ +#if defined(__cplusplus) +extern "C" { +#endif + +#include + /* * Error codes */ @@ -37,7 +43,11 @@ #define VMX_INUSE 2 /* VT is being exclusively used already */ /* SPI */ -int host_vmxon(int exclusive); +int host_vmxon(boolean_t exclusive); void host_vmxoff(void); +#if defined(__cplusplus) +} +#endif + #endif