mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
Fix usermode virtual address type
Usermode virtual addresses are abi_ulong, not target_ulong. Signed-off-by: Paul Brook <paul@codesourcery.com>
This commit is contained in:
parent
4836a2b09a
commit
b480d9b74d
5 changed files with 20 additions and 16 deletions
|
@ -29,7 +29,7 @@
|
|||
addresses in userspace mode. Define tb_page_addr_t to be an appropriate
|
||||
type. */
|
||||
#if defined(CONFIG_USER_ONLY)
|
||||
typedef target_ulong tb_page_addr_t;
|
||||
typedef abi_ulong tb_page_addr_t;
|
||||
#else
|
||||
typedef ram_addr_t tb_page_addr_t;
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue