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.


bug fixes for:
[palacios.git] / palacios / src / palacios / vmm_direct_paging.c
index c197c4c..44742cb 100644 (file)
@@ -1,19 +1,20 @@
 #include <palacios/vmm_direct_paging.h>
-
-// Inline handler functions for each cpu mode
-#include "vmm_direct_paging_32.h"
-
 #include <palacios/vmm_paging.h>
 #include <palacios/vmm.h>
 #include <palacios/vm_guest_mem.h>
 #include <palacios/vm_guest.h>
 
+
+
+// Inline handler functions for each cpu mode
+#include "vmm_direct_paging_32.h"
+
 pde32_t * v3_create_direct_passthrough_pts(struct guest_info * info) {
   v3_vm_cpu_mode_t mode = v3_get_cpu_mode(info);
   switch(mode) {
     case REAL:
     case PROTECTED:
-      return v3_create_direct_passthrough_pts_32(info);
+      return create_direct_passthrough_pts_32(info);
     case PROTECTED_PAE:
       break;
     case LONG:
@@ -27,12 +28,13 @@ pde32_t * v3_create_direct_passthrough_pts(struct guest_info * info) {
   return NULL;
 }
 
-int v3_handle_shadow_pagefault_physical_mode(struct guest_info * info, addr_t fault_addr, pf_error_t error_code) {
+int v3_handle_passthrough_pagefault(struct guest_info * info, addr_t fault_addr, pf_error_t error_code) {
   v3_vm_cpu_mode_t mode = v3_get_cpu_mode(info);
+
   switch(mode) {
     case REAL:
     case PROTECTED:
-      return v3_handle_shadow_pagefault_physical_mode_32(info, fault_addr, error_code);
+      return handle_passthrough_pagefault_32(info, fault_addr, error_code);
     case PROTECTED_PAE:
       break;
     case LONG: