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 fix for masking rcx on string form
Jack Lange [Sun, 8 Mar 2009 23:58:34 +0000 (18:58 -0500)]
palacios/src/palacios/svm_io.c

index 99f83a7..ab62acd 100644 (file)
@@ -173,8 +173,8 @@ int v3_handle_svm_io_ins(struct guest_info * info) {
     }
 
     if (io_info->rep) {
-       //    rep_num = info->vm_regs.rcx & mask;
-       rep_num = info->vm_regs.rcx;
+       rep_num = info->vm_regs.rcx & mask;
+       //rep_num = info->vm_regs.rcx;
     }
 
 
@@ -200,9 +200,10 @@ int v3_handle_svm_io_ins(struct guest_info * info) {
 
        info->vm_regs.rdi += read_size * direction;
 
-       if (io_info->rep)
+       if (io_info->rep) {
            info->vm_regs.rcx--;
-    
+       }
+
        rep_num--;
     }