Skip to content

Commit c814c89

Browse files
Anton Johanssonrth7680
Anton Johansson
authored andcommitted
cpu: Replace target_ulong with hwaddr in tb_invalidate_phys_addr()
Signed-off-by: Anton Johansson <[email protected]> Reviewed-by: Richard Henderson <[email protected]> Message-Id: <[email protected]> Signed-off-by: Richard Henderson <[email protected]>
1 parent b1c0922 commit c814c89

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: cpu.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ void list_cpus(void)
293293
}
294294

295295
#if defined(CONFIG_USER_ONLY)
296-
void tb_invalidate_phys_addr(target_ulong addr)
296+
void tb_invalidate_phys_addr(hwaddr addr)
297297
{
298298
mmap_lock();
299299
tb_invalidate_phys_page(addr);

Diff for: include/exec/exec-all.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ uint32_t curr_cflags(CPUState *cpu);
526526

527527
/* TranslationBlock invalidate API */
528528
#if defined(CONFIG_USER_ONLY)
529-
void tb_invalidate_phys_addr(target_ulong addr);
529+
void tb_invalidate_phys_addr(hwaddr addr);
530530
#else
531531
void tb_invalidate_phys_addr(AddressSpace *as, hwaddr addr, MemTxAttrs attrs);
532532
#endif

0 commit comments

Comments
 (0)