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.


Floating point context-switching and checkpoint/load
[palacios.git] / palacios / include / palacios / vmm_regs.h
index e8ed725..e116d43 100644 (file)
@@ -51,12 +51,19 @@ struct v3_ctrl_regs {
     v3_reg_t cr2;
     v3_reg_t cr3;
     v3_reg_t cr4;
-    v3_reg_t cr8;
+    v3_reg_t apic_tpr;  // cr8 is (apic_tpr >> 4) & 0xf
     v3_reg_t rflags;
     v3_reg_t efer;
 };
 
 
+struct v3_msrs {
+    v3_reg_t star;
+    v3_reg_t lstar;
+    v3_reg_t sfmask;
+    v3_reg_t kern_gs_base;
+};
+
 
 struct v3_dbg_regs {
     v3_reg_t dr0;