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.


Instruction Decoder - Name Change
Jack Lange [Mon, 23 Jun 2008 17:06:20 +0000 (17:06 +0000)]
palacios/src/palacios/vmm_decoder.c [new file with mode: 0644]

diff --git a/palacios/src/palacios/vmm_decoder.c b/palacios/src/palacios/vmm_decoder.c
new file mode 100644 (file)
index 0000000..9b8d91e
--- /dev/null
@@ -0,0 +1,34 @@
+#include <palacios/vmm_decoder.h>
+
+
+
+/* The full blown instruction parser... */
+int v3_parse_instr(struct guest_info * info,
+                  char * instr_ptr,
+                  uint_t * instr_length, 
+                  struct x86_operand * src_operand,
+                  struct x86_operand * dst_operand,
+                  struct x86_operand * extra_operand) {
+
+  V3_Assert(src_operand != NULL);
+  V3_Assert(dst_operand != NULL);
+  V3_Assert(extra_operand != NULL);
+  V3_Assert(instr_length != NULL);
+  V3_Assert(info != NULL);
+
+  
+  // Ignore prefixes for now
+  while (is_prefix_byte(*instr)) {
+    instr++;
+    *instr_length++;
+  }
+
+
+  // Opcode table lookup, see xen/kvm
+
+
+
+
+
+  return 0;
+}