Skip to content
Snippets Groups Projects
Commit c814c892 authored by Anton Johansson's avatar Anton Johansson Committed by Richard Henderson
Browse files

cpu: Replace target_ulong with hwaddr in tb_invalidate_phys_addr()


Signed-off-by: default avatarAnton Johansson <anjo@rev.ng>
Reviewed-by: default avatarRichard Henderson <richard.henderson@linaro.org>
Message-Id: <20230621135633.1649-13-anjo@rev.ng>
Signed-off-by: default avatarRichard Henderson <richard.henderson@linaro.org>
parent b1c09220
No related branches found
No related tags found
No related merge requests found
...@@ -293,7 +293,7 @@ void list_cpus(void) ...@@ -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); ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment