Commit adea8197b4fb8687b3a5548883c8794a4d4ce64f

Authored by Juan Quintela
Committed by Paul Brook
1 parent 18c9a9c3

Userspace guest address offsetting

Fix type in i386 tcg.

Signed-off-by: Juan Quintela <quintela@redhat.com>
Showing 1 changed file with 1 additions and 1 deletions
tcg/i386/tcg-target.c
... ... @@ -624,7 +624,7 @@ static void tcg_out_qemu_ld(TCGContext *s, const TCGArg *args,
624 624 }
625 625 if (!bswap) {
626 626 tcg_out_modrm_offset(s, 0x8b, data_reg, r0, GUEST_BASE);
627   - tcg_out_modrm_offset(s, 0x8b, data_reg2, r0, GUEST+BASE + 4);
  627 + tcg_out_modrm_offset(s, 0x8b, data_reg2, r0, GUEST_BASE + 4);
628 628 } else {
629 629 tcg_out_modrm_offset(s, 0x8b, data_reg, r0, GUEST_BASE + 4);
630 630 tcg_out_opc(s, (0xc8 + data_reg) | P_EXT);
... ...