From: Erik van der Kouwe Date: Fri, 5 Nov 2010 20:59:18 +0000 (-0500) Subject: Replaces C++-style comments (// ...) with C-style comments (/* ... */) in header... X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=commitdiff_plain;h=96241180a9bfdf5eb59082ce4cfd27a1a898181a;p=palacios.git Replaces C++-style comments (// ...) with C-style comments (/* ... */) in header files that I need to use in MINIX. I need this because MINIX uses an older C standard. --- diff --git a/palacios/include/palacios/vmm.h b/palacios/include/palacios/vmm.h index a5b47dc..d0b533a 100644 --- a/palacios/include/palacios/vmm.h +++ b/palacios/include/palacios/vmm.h @@ -21,7 +21,7 @@ #define __VMM_H__ -//#include +/*#include */ #include #include @@ -254,7 +254,7 @@ v3_cpu_arch_t v3_get_cpu_type(int cpu_id); int v3_vm_enter(struct guest_info * info); -#endif //!__V3VEE__ +#endif /*!__V3VEE__ */ @@ -296,16 +296,16 @@ struct v3_os_hooks { }; -// -// -// 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? */ }; diff --git a/palacios/include/palacios/vmm_mem.h b/palacios/include/palacios/vmm_mem.h index 58b5dd3..99a53fc 100644 --- a/palacios/include/palacios/vmm_mem.h +++ b/palacios/include/palacios/vmm_mem.h @@ -112,7 +112,7 @@ void v3_print_mem_map(struct v3_vm_info * vm); -#endif // ! __V3VEE__ +#endif /* ! __V3VEE__ */ #endif diff --git a/palacios/include/palacios/vmm_types.h b/palacios/include/palacios/vmm_types.h index 021d0e8..4ef72d4 100644 --- a/palacios/include/palacios/vmm_types.h +++ b/palacios/include/palacios/vmm_types.h @@ -78,6 +78,6 @@ typedef char sint8_t; typedef ulong_t addr_t; typedef ullong_t v3_reg_t; -#endif // ! __V3VEE__ +#endif /* ! __V3VEE__ */ #endif