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.


real->protected mode switch should work now
[palacios.git] / palacios / include / geekos / vmm_shadow_paging.h
index cbda937..1817800 100644 (file)
@@ -2,11 +2,13 @@
 #define __VMM_SHADOW_PAGING_H
 
 
-#include <geekos/vmm_paging.h>
 
 #include <geekos/vmm_util.h>
 
 
+
+#include <geekos/vmm_paging.h>
+
 struct shadow_page_state {
 
   // these two reflect the top-level page directory
@@ -14,7 +16,7 @@ struct shadow_page_state {
   paging_mode_t           guest_mode;
   reg_ex_t                guest_cr3;         // points to guest's current page table
 
-  // Should thi sbe here
+  // Should this be here??
   reg_ex_t                guest_cr0;
 
   // these two reflect the top-level page directory 
@@ -30,11 +32,9 @@ struct shadow_page_state {
 
 
 
-
-
-#include <geekos/vm_guest.h>
 struct guest_info;
 
+
 int init_shadow_page_state(struct shadow_page_state * state);
 
 // This function will cause the shadow page table to be deleted