mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
Pre-allocate guest address space
Allow pre-allocation of the guest virtual address space in usermode emulation. Signed-off-by: Paul Brook <paul@codesourcery.com>
This commit is contained in:
parent
0be1d07c0e
commit
68a1c81686
5 changed files with 183 additions and 8 deletions
|
@ -627,6 +627,7 @@ static inline void stfq_be_p(void *ptr, float64 v)
|
|||
#if defined(CONFIG_USE_GUEST_BASE)
|
||||
extern unsigned long guest_base;
|
||||
extern int have_guest_base;
|
||||
extern unsigned long reserved_va;
|
||||
#define GUEST_BASE guest_base
|
||||
#else
|
||||
#define GUEST_BASE 0ul
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue