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.


Fixed the FS/GS save/restore problem
[palacios-OLD.git] / palacios / include / palacios / vmm_paging.h
index 5cbdbd3..a6db780 100644 (file)
@@ -3,10 +3,6 @@
 
 
 #include <palacios/vmm_types.h>
-
-
-
-#include <palacios/vmm_mem.h>
 #include <palacios/vmm_util.h>
 
 /*
@@ -112,8 +108,12 @@ the host state in the vmcs before entering the guest.
 
 
 /* Accessor functions for the page table structures */
-#define PDE32_T_ADDR(x) ((x.pt_base_addr) << 12)
-#define PTE32_T_ADDR(x) ((x.page_base_addr) << 12)
+#define PDE32_T_ADDR(x) (((x).pt_base_addr) << 12)
+#define PTE32_T_ADDR(x) (((x).page_base_addr) << 12)
+
+
+/* Page Table Flag Values */
+#define PT32_HOOK 0x1
 
 
 #endif