#define __VMM_H__
-//#include <palacios/vm_guest.h>
+/*#include <palacios/vm_guest.h>*/
#include <palacios/vmm_mem.h>
#include <palacios/vmm_types.h>
#ifdef __V3VEE__
-//#include <palacios/vmm_types.h>
+/*#include <palacios/vmm_types.h>*/
#include <palacios/vmm_string.h>
-//#include <palacios/vmm_paging.h>
+/*#include <palacios/vmm_paging.h>*/
/* utility definitions */
var; \
})
-// We need to check the hook structure at runtime to ensure its SAFE
+/* We need to check the hook structure at runtime to ensure its SAFE */
#define V3_Free(addr) \
do { \
extern struct v3_os_hooks * os_hooks; \
} \
} while (0)
-// uint_t V3_CPU_KHZ();
+/* uint_t V3_CPU_KHZ(); */
#define V3_CPU_KHZ() ({ \
unsigned int khz = 0; \
extern struct v3_os_hooks * os_hooks; \
typedef enum v3_vm_class {V3_INVALID_VM, V3_PC_VM, V3_CRAY_VM} v3_vm_class_t;
-// Maybe make this a define....
+/* Maybe make this a define.... */
typedef enum v3_cpu_arch {V3_INVALID_CPU, V3_SVM_CPU, V3_SVM_REV3_CPU, V3_VMX_CPU, V3_VMX_EPT_CPU} v3_cpu_arch_t;
int v3_vm_enter(struct guest_info * info);
-#endif //!__V3VEE__
+#endif /* !__V3VEE__ */
-//
-//
-// This is the interrupt state that the VMM's interrupt handlers need to see
-//
+/*
+ *
+ * This is the interrupt state that the VMM's interrupt handlers need to see
+ */
struct v3_interrupt {
unsigned int irq;
unsigned int error;
- unsigned int should_ack; // Should the vmm ack this interrupt, or will
- // the host OS do it?
+ unsigned int should_ack; /* Should the vmm ack this interrupt, or will
+ * the host OS do it?
+ */
};