aboutsummaryrefslogtreecommitdiff
path: root/tcg/i386
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-07-17 20:11:36 +0200
committerPaul Brook <paul@codesourcery.com>2009-07-17 19:50:18 +0100
commitadea8197b4fb8687b3a5548883c8794a4d4ce64f (patch)
tree1eba89d910c4db091090022bd87976ce9fc6814e /tcg/i386
parent18c9a9c3c2698d71575d49c308db88f295ddffed (diff)
downloadqemu-adea8197b4fb8687b3a5548883c8794a4d4ce64f.zip
qemu-adea8197b4fb8687b3a5548883c8794a4d4ce64f.tar.gz
qemu-adea8197b4fb8687b3a5548883c8794a4d4ce64f.tar.bz2
Userspace guest address offsetting
Fix type in i386 tcg. Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'tcg/i386')
-rw-r--r--tcg/i386/tcg-target.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcg/i386/tcg-target.c b/tcg/i386/tcg-target.c
index ed61780..a95fe4c 100644
--- a/tcg/i386/tcg-target.c
+++ b/tcg/i386/tcg-target.c
@@ -624,7 +624,7 @@ static void tcg_out_qemu_ld(TCGContext *s, const TCGArg *args,
}
if (!bswap) {
tcg_out_modrm_offset(s, 0x8b, data_reg, r0, GUEST_BASE);
- tcg_out_modrm_offset(s, 0x8b, data_reg2, r0, GUEST+BASE + 4);
+ tcg_out_modrm_offset(s, 0x8b, data_reg2, r0, GUEST_BASE + 4);
} else {
tcg_out_modrm_offset(s, 0x8b, data_reg, r0, GUEST_BASE + 4);
tcg_out_opc(s, (0xc8 + data_reg) | P_EXT);