Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


*** empty log message ***
[palacios.git] / palacios / include / geekos / svm.h
index 5ebed66..6bb2389 100644 (file)
@@ -10,6 +10,7 @@
 
 #define CPUID_SVM_REV_AND_FEATURE_IDS 0x8000000a
 #define CPUID_SVM_REV_AND_FEATURE_IDS_edx_svml 0x00000004
+#define CPUID_SVM_REV_AND_FEATURE_IDS_edx_np  0x00000001
 
 
 #define EFER_MSR                 0xc0000080
@@ -48,7 +49,7 @@
 
 
 /******************************************/
-/* SVM Intercep Exit Codes                */
+/* SVM Intercept Exit Codes               */
 /* AMD Arch Vol 3, Appendix C, pg 477-478 */
 /******************************************/
 #define VMEXIT_CR_READ_MASK 0xfffffff0
@@ -221,7 +222,7 @@ void Init_VMCB(vmcb_t * vmcb, guest_info_t vm_info);
 int init_svm_guest(struct guest_info *info);
 int start_svm_guest(struct guest_info * info);
 
-int handle_svm_exit();
+int handle_svm_exit(struct VMM_GPRs gprs);
 
 
 #endif