Skip to contentSkip to conversation

Save immediate operand into mcip structure

PATCH New Jiang, Yunhong 1 participant 1 message Sep 28, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Save immediate operand into mcip structure

Some opcode like and/or need the immediate info when return from DM, we should save it before sending io request.

Thanks
Yunhong Jiang

# HG changeset patch
# User [email protected]
# Node ID 4b64523aee3e9555bc138294a8b2be29bc6230ac
# Parent 70ac9078c4dc23e4fa1351eab8915743ee062b6c
Save immediate operand into mcip structure.
Some opcode like and/or need the immediate info when return from DM, we should save it before sending io request.

xen/arch/x86/vmx_platform.c +1 -0
diff -r 70ac9078c4dc -r 4b64523aee3e xen/arch/x86/vmx_platform.c
@@ -667,6 +667,7 @@
     mpcip->instr = inst->instr;
     mpcip->operand[0] = inst->operand[0]; /* source */
     mpcip->operand[1] = inst->operand[1]; /* destination */
+    mpcip->immediate = inst->immediate;
 
     if (inst->operand[0] & REGISTER) { /* dest is memory */
         index = operand_index(inst->operand[0]);

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel