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.


added more 64 bit support,
[palacios.git] / palacios / include / palacios / vmm_decoder.h
index df10150..cfe5ff7 100644 (file)
@@ -263,6 +263,7 @@ static inline addr_t get_addr_linear(struct guest_info * info, addr_t addr, stru
 
   case PROTECTED:
   case PROTECTED_PAE:
+  case LONG_32_COMPAT:
     return addr + seg->base;
     break;
 
@@ -270,10 +271,10 @@ static inline addr_t get_addr_linear(struct guest_info * info, addr_t addr, stru
     // In long mode the segment bases are disregarded (forced to 0), unless using 
     // FS or GS, then the base addresses are added
     return addr + seg->base;
-  case LONG_32_COMPAT:
+
   case LONG_16_COMPAT:
   default:
-    PrintError("Unsupported Address Mode\n");
+    PrintError("Unsupported CPU Mode: %d\n", info->cpu_mode);
     return -1;
   }
 }