mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
target/hppa: Handle absolute addresses for pa2.0
With pa2.0, absolute addresses are not the same as physical addresses, and undergo a transformation based on PSW_W. Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
931adff314
commit
ccdf741c48
2 changed files with 44 additions and 2 deletions
|
@ -313,6 +313,9 @@ static inline target_ulong hppa_form_gva(CPUHPPAState *env, uint64_t spc,
|
|||
return hppa_form_gva_psw(env->psw, spc, off);
|
||||
}
|
||||
|
||||
hwaddr hppa_abs_to_phys_pa2_w0(vaddr addr);
|
||||
hwaddr hppa_abs_to_phys_pa2_w1(vaddr addr);
|
||||
|
||||
/*
|
||||
* Since PSW_{I,CB} will never need to be in tb->flags, reuse them.
|
||||
* TB_FLAG_SR_SAME indicates that SR4 through SR7 all contain the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue