diff options
author | Juan Quintela <quintela@redhat.com> | 2009-07-17 20:11:36 +0200 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2009-07-17 19:50:18 +0100 |
commit | adea8197b4fb8687b3a5548883c8794a4d4ce64f (patch) | |
tree | 1eba89d910c4db091090022bd87976ce9fc6814e /tcg/i386/tcg-target.c | |
parent | 18c9a9c3c2698d71575d49c308db88f295ddffed (diff) |
Userspace guest address offsetting
Fix type in i386 tcg.
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'tcg/i386/tcg-target.c')
-rw-r--r-- | tcg/i386/tcg-target.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tcg/i386/tcg-target.c b/tcg/i386/tcg-target.c index ed61780e6..a95fe4c20 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); |