#ifndef _I386_VMX_H_
#define _I386_VMX_H_
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
+#include <mach/boolean.h>
+
/*
* Error codes
*/
#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