Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 103734
b: refs/heads/master
c: 8684c0a
h: refs/heads/master
v: v3
  • Loading branch information
Avi Kivity committed Jul 20, 2008
1 parent b18edfc commit 2beafbd
Show file tree
Hide file tree
Showing 2 changed files with 3 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: b13354f8f092884fa8d79472404de4907b25d579
refs/heads/master: 8684c0af0b2bab770c257e2a04e1546eed35fa56
2 changes: 2 additions & 0 deletions trunk/arch/x86/kvm/x86_emulate.c
Original file line number Diff line number Diff line change
Expand Up @@ -750,6 +750,7 @@ static int decode_modrm(struct x86_emulate_ctxt *ctxt,

switch (base_reg) {
case 5:
case 13:
if (c->modrm_mod != 0)
c->modrm_ea += c->regs[base_reg];
else
Expand All @@ -767,6 +768,7 @@ static int decode_modrm(struct x86_emulate_ctxt *ctxt,
}
break;
case 5:
case 13:
if (c->modrm_mod != 0)
c->modrm_ea += c->regs[c->modrm_rm];
else if (ctxt->mode == X86EMUL_MODE_PROT64)
Expand Down

0 comments on commit 2beafbd

Please sign in to comment.