mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
target/hppa: Remove TARGET_HPPA64
Allow both user-only and system mode to run pa2.0 cpus. Avoid creating a separate qemu-system-hppa64 binary; force the qemu-hppa binary to use TARGET_ABI32. Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
e207b4aa71
commit
08db178544
5 changed files with 8 additions and 29 deletions
|
@ -8,26 +8,17 @@
|
|||
#ifndef HPPA_CPU_PARAM_H
|
||||
#define HPPA_CPU_PARAM_H
|
||||
|
||||
#ifdef TARGET_HPPA64
|
||||
# define TARGET_LONG_BITS 64
|
||||
# define TARGET_REGISTER_BITS 64
|
||||
# define TARGET_VIRT_ADDR_SPACE_BITS 64
|
||||
# define TARGET_PHYS_ADDR_SPACE_BITS 64
|
||||
#elif defined(CONFIG_USER_ONLY)
|
||||
# define TARGET_LONG_BITS 32
|
||||
# define TARGET_REGISTER_BITS 32
|
||||
#define TARGET_LONG_BITS 64
|
||||
#define TARGET_REGISTER_BITS 64
|
||||
|
||||
#if defined(CONFIG_USER_ONLY) && defined(TARGET_ABI32)
|
||||
# define TARGET_PHYS_ADDR_SPACE_BITS 32
|
||||
# define TARGET_VIRT_ADDR_SPACE_BITS 32
|
||||
# define TARGET_PHYS_ADDR_SPACE_BITS 32
|
||||
#else
|
||||
/*
|
||||
* In order to form the GVA from space:offset,
|
||||
* we need a 64-bit virtual address space.
|
||||
*/
|
||||
# define TARGET_LONG_BITS 64
|
||||
# define TARGET_REGISTER_BITS 32
|
||||
# define TARGET_PHYS_ADDR_SPACE_BITS 64
|
||||
# define TARGET_VIRT_ADDR_SPACE_BITS 64
|
||||
# define TARGET_PHYS_ADDR_SPACE_BITS 32
|
||||
#endif
|
||||
|
||||
#define TARGET_PAGE_BITS 12
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue