target/microblaze: Remove target_ulong uses in get_phys_page_attrs_debug
The CPUClass::get_phys_page_debug() handler takes a 'vaddr' address
and return a 'hwaddr' type since commit 00b941e581 ("cpu: Turn
cpu_get_phys_page_debug() into a CPUClass hook").
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20251015180115.97493-3-philmd@linaro.org>
This commit is contained in:
parent
1f097e46a3
commit
0651ea17e8
1 changed files with 2 additions and 1 deletions
|
|
@ -274,7 +274,8 @@ hwaddr mb_cpu_get_phys_page_attrs_debug(CPUState *cs, vaddr addr,
|
|||
MemTxAttrs *attrs)
|
||||
{
|
||||
MicroBlazeCPU *cpu = MICROBLAZE_CPU(cs);
|
||||
target_ulong vaddr, paddr = 0;
|
||||
vaddr vaddr;
|
||||
hwaddr paddr = 0;
|
||||
MicroBlazeMMULookup lu;
|
||||
int mmu_idx = cpu_mmu_index(cs, false);
|
||||
unsigned int hit;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue