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.


code clean up
[palacios.git] / palacios / include / palacios / vmm_shadow_paging.h
index 4ca198b..344e160 100644 (file)
@@ -31,30 +31,14 @@ struct guest_info;
 
 int init_shadow_page_state(struct shadow_page_state * state);
 
+#ifdef __V3VEE__
 
-addr_t create_new_shadow_pt32(struct guest_info * info);
 
-addr_t setup_shadow_pt32(struct guest_info * info, addr_t virt_cr3);
-addr_t setup_shadow_pte32(struct guest_info * info, addr_t pt_host_addr);
+addr_t create_new_shadow_pt32(struct guest_info * info);
 
 int handle_shadow_pagefault(struct guest_info * info, addr_t fault_addr, pf_error_t error_code);
-int handle_shadow_pagefault32(struct guest_info * info, addr_t fault_addr, pf_error_t error_code);
-
-int handle_shadow_pde32_fault(struct guest_info * info, 
-                             addr_t fault_addr, 
-                             pf_error_t error_code, 
-                             pde32_t * shadow_pde, 
-                             pde32_t * guest_pde);
-
-
-int handle_shadow_pte32_fault(struct guest_info* info, 
-                             addr_t fault_addr, 
-                             pf_error_t error_code,
-                             pte32_t * shadow_pte, 
-                             pte32_t * guest_pte);
-
-
-
 int handle_shadow_invlpg(struct guest_info * info);
 
+#endif // ! __V3VEE__
+
 #endif