cpu: Replace target_ulong with hwaddr in tb_invalidate_phys_addr()
Signed-off-by: Anton Johansson <anjo@rev.ng> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20230621135633.1649-13-anjo@rev.ng> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
b1c09220b4
commit
c814c892e5
2
cpu.c
2
cpu.c
@ -293,7 +293,7 @@ void list_cpus(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if defined(CONFIG_USER_ONLY)
|
#if defined(CONFIG_USER_ONLY)
|
||||||
void tb_invalidate_phys_addr(target_ulong addr)
|
void tb_invalidate_phys_addr(hwaddr addr)
|
||||||
{
|
{
|
||||||
mmap_lock();
|
mmap_lock();
|
||||||
tb_invalidate_phys_page(addr);
|
tb_invalidate_phys_page(addr);
|
||||||
|
@ -526,7 +526,7 @@ uint32_t curr_cflags(CPUState *cpu);
|
|||||||
|
|
||||||
/* TranslationBlock invalidate API */
|
/* TranslationBlock invalidate API */
|
||||||
#if defined(CONFIG_USER_ONLY)
|
#if defined(CONFIG_USER_ONLY)
|
||||||
void tb_invalidate_phys_addr(target_ulong addr);
|
void tb_invalidate_phys_addr(hwaddr addr);
|
||||||
#else
|
#else
|
||||||
void tb_invalidate_phys_addr(AddressSpace *as, hwaddr addr, MemTxAttrs attrs);
|
void tb_invalidate_phys_addr(AddressSpace *as, hwaddr addr, MemTxAttrs attrs);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user