On 3/2/26 12:56, Anton Johansson wrote:
In preparation for handling different physical address spaces sizes (32,
40, 44 bits) a CPU model configuration struct is added to HPPACPUClass.

Two fields are added describing the size of the physical address space,
and whether or not the CPU uses the PA-RISC 2.0 architecture.  The
latter was previously a field in CPUHPPAState.

phys_addr_bits is currently set but unused, and will be used in the
following commit.  Likewise, PA-8700 is moved to use 44 bit physical
addresses in a followup commit to not bisection.

Signed-off-by: Anton Johansson <[email protected]>
---
  target/hppa/cpu.h | 24 ++++++++++++++++++++----
  target/hppa/cpu.c | 31 +++++++++++++++++++++----------
  2 files changed, 41 insertions(+), 14 deletions(-)

Reviewed-by: Helge Deller <[email protected]>


Reply via email to