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 | 69a3af794869b3ffea686e767868b8ce589b50ae (patch) | |
tree | 1eba89d910c4db091090022bd87976ce9fc6814e /tcg | |
parent | 7a1485e155e513f26f9ff63ed9628875cafc30d8 (diff) | |
download | qemu-69a3af794869b3ffea686e767868b8ce589b50ae.tar.gz qemu-69a3af794869b3ffea686e767868b8ce589b50ae.tar.bz2 qemu-69a3af794869b3ffea686e767868b8ce589b50ae.zip |
Userspace guest address offsetting
Fix type in i386 tcg.
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'tcg')
-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 ed61780e67..a95fe4c20e 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); |