Revived GUEST_BASE support for usermode emulation targets [v5] guest-base
authorMika Westerberg <mika.westerberg@iki.fi>
Sun, 29 Mar 2009 18:46:34 +0000 (21:46 +0300)
committerRiku Voipio <riku.voipio@iki.fi>
Tue, 16 Jun 2009 16:55:55 +0000 (19:55 +0300)
commit4ec894a22805cc688f86ac21f29fcf872b918a79
treea74496f01c96ea10d82d5952c3e3283664cf6411
parent3f9ac9b39bd82b51f6aa46103836ae12bcbcb22e
Revived GUEST_BASE support for usermode emulation targets [v5]

- Now GUEST_BASE is dynamic and can be set from command line.
- Qemu checks /proc/sys/vm/mmap_min_addr and sets GUEST_BASE
  if needed.
- Code generation supports GUEST_BASE for i386 and x86_64 hosts.

[v3]: implemented GUEST_BASE with offset mods

Using malc's advice, instead of a mov or lea, just adjust
the offset parameter of tcg_out_modrm_offset(). - Riku

[v5]: set a GUEST_BASE_MAX instead of supporting moving
to arbitary ranges

Signed-off-by: Mika Westerberg <mika.westerberg@iki.fi>
Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
configure
cpu-all.h
linux-user/elfload.c
linux-user/main.c
linux-user/qemu.h
tcg/i386/tcg-target.c
tcg/x86_64/tcg-target.c