Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 271513
b: refs/heads/master
c: 29053a6
h: refs/heads/master
i:
  271511: f5215e1
v: v3
  • Loading branch information
Avi Kivity committed Sep 25, 2011
1 parent dda7ae6 commit 6519d82
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 761441b9f42159409d56f74dcc7ce5538d9efd69
refs/heads/master: 29053a60d791a492b4609d87397b70a7a3254eb2
8 changes: 4 additions & 4 deletions trunk/arch/x86/kvm/emulate.c
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ struct gprefix {
__emulate_2op_nobyte(ctxt, _op, "w", "r", _LO32, "r", "", "r")

/* Instruction has three operands and one operand is stored in ECX register */
#define __emulate_2op_cl(_op, ctxt, _suffix, _type) \
#define __emulate_2op_cl(ctxt, _op, _suffix, _type) \
do { \
unsigned long _tmp; \
_type _clv = (ctxt)->src2.val; \
Expand All @@ -287,13 +287,13 @@ struct gprefix {
do { \
switch ((ctxt)->dst.bytes) { \
case 2: \
__emulate_2op_cl(_op, ctxt, "w", u16); \
__emulate_2op_cl(ctxt, _op, "w", u16); \
break; \
case 4: \
__emulate_2op_cl(_op, ctxt, "l", u32); \
__emulate_2op_cl(ctxt, _op, "l", u32); \
break; \
case 8: \
ON64(__emulate_2op_cl(_op, ctxt, "q", ulong)); \
ON64(__emulate_2op_cl(ctxt, _op, "q", ulong)); \
break; \
} \
} while (0)
Expand Down

0 comments on commit 6519d82

Please sign in to comment.