mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-10 11:04:58 -06:00
Userspace guest address offsetting
Re-implement GUEST_BASE support. Offset guest ddress space by default if the guest binary contains regions below the host mmap_min_addr. Implement support for i386, x86-64 and arm hosts. Signed-off-by: Riku Voipio <riku.voipio@iki.fi> Signed-off-by: Paul Brook <paul@codesourcery.com>
This commit is contained in:
parent
a9ff9df188
commit
379f6698d7
13 changed files with 206 additions and 36 deletions
|
@ -73,6 +73,8 @@ enum {
|
|||
#define TCG_TARGET_HAS_rot_i32
|
||||
#define TCG_TARGET_HAS_rot_i64
|
||||
|
||||
#define TCG_TARGET_HAS_GUEST_BASE
|
||||
|
||||
/* Note: must be synced with dyngen-exec.h */
|
||||
#define TCG_AREG0 TCG_REG_R14
|
||||
#define TCG_AREG1 TCG_REG_R15
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue