Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 373083
b: refs/heads/master
c: 660696d
h: refs/heads/master
i:
  373081: 5df34f5
  373079: 7684d9b
v: v3
  • Loading branch information
Gleb Natapov committed Apr 25, 2013
1 parent f5f134c commit dc4eed7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d1fa0352a151a597e8749e7be84121a1ff0d3502
refs/heads/master: 660696d1d16a71e15549ce1bf74953be1592bcd3
4 changes: 4 additions & 0 deletions trunk/arch/x86/kvm/emulate.c
Original file line number Diff line number Diff line change
Expand Up @@ -4172,6 +4172,10 @@ static int decode_operand(struct x86_emulate_ctxt *ctxt, struct operand *op,
break;
case OpMem8:
ctxt->memop.bytes = 1;
if (ctxt->memop.type == OP_REG) {
ctxt->memop.addr.reg = decode_register(ctxt, ctxt->modrm_rm, 1);
fetch_register_operand(&ctxt->memop);
}
goto mem_common;
case OpMem16:
ctxt->memop.bytes = 2;
Expand Down

0 comments on commit dc4eed7

Please sign in to comment.