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.


reformatting of the source files
[palacios.git] / palacios / src / palacios / svm_wbinvd.c
index 9fe3dc3..c8c11e6 100644 (file)
 
 int v3_handle_svm_wbinvd(struct guest_info * info) {
 
-  if (info->cpl != 0) { 
-    PrintDebug("WBINVD: cpl != 0, injecting GPF\n");
-    v3_raise_exception(info, GPF_EXCEPTION);
-  } else {
-    info->rip += 2;
-    asm("wbinvd");
-  }
-
-  return 0;
+    if (info->cpl != 0) { 
+       PrintDebug("WBINVD: cpl != 0, injecting GPF\n");
+       v3_raise_exception(info, GPF_EXCEPTION);
+    } else {
+       info->rip += 2;
+       asm("wbinvd");
+    }
+
+    return 0;
 }