X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Finclude%2Fpalacios%2Fvmm.h;h=337226f2be0661564b94e56b42424ba0c0f4ceb9;hb=a7b07dc7f3bd9c28b0fbfb3c685a306326d56e76;hp=88c6f1656e6a6e22c1cbc71a60b813b1158f513b;hpb=c669591f0754b80c6b429d4c15c3c320388a37c3;p=palacios-OLD.git diff --git a/palacios/include/palacios/vmm.h b/palacios/include/palacios/vmm.h index 88c6f16..337226f 100644 --- a/palacios/include/palacios/vmm.h +++ b/palacios/include/palacios/vmm.h @@ -182,7 +182,7 @@ struct guest_info; }) -#ifdef CONFIG_MULTITHREAD_OS +#ifdef V3_CONFIG_MULTITHREAD_OS #define V3_CREATE_THREAD(fn, arg, name) \ do { \ @@ -242,7 +242,7 @@ typedef enum v3_vm_class {V3_INVALID_VM, V3_PC_VM, V3_CRAY_VM} v3_vm_class_t; // 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; +typedef enum v3_cpu_arch {V3_INVALID_CPU, V3_SVM_CPU, V3_SVM_REV3_CPU, V3_VMX_CPU, V3_VMX_EPT_CPU, V3_VMX_EPT_UG_CPU} v3_cpu_arch_t; v3_cpu_mode_t v3_get_host_cpu_mode(); @@ -252,7 +252,7 @@ void v3_yield_cond(struct guest_info * info); void v3_print_cond(const char * fmt, ...); -#ifdef CONFIG_MULTITHREAD_OS +#ifdef V3_CONFIG_MULTITHREAD_OS void v3_interrupt_cpu(struct v3_vm_info * vm, int logical_cpu, int vector); #endif @@ -261,6 +261,7 @@ v3_cpu_arch_t v3_get_cpu_type(int cpu_id); int v3_vm_enter(struct guest_info * info); +int v3_reset_vm_core(struct guest_info * core, addr_t rip); #endif /*!__V3VEE__ */