aboutsummaryrefslogtreecommitdiff
path: root/include/exec
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2024-04-19 10:39:26 +0200
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-12-20 17:44:57 +0100
commit384fd3543b8a4f53269bb0e57d62189b43b4a635 (patch)
tree33bdcd9f69eb1aa7aac019544826c7dfe327a90d /include/exec
parent487a31e0acf9c5e11506ac34feba5a5671fd2dd9 (diff)
downloadqemu-384fd3543b8a4f53269bb0e57d62189b43b4a635.zip
qemu-384fd3543b8a4f53269bb0e57d62189b43b4a635.tar.gz
qemu-384fd3543b8a4f53269bb0e57d62189b43b4a635.tar.bz2
accel/tcg: Use tb_page_addr_t type in page_unprotect()
Match with the page_protect() prototype, use a tb_page_addr_t argument instead of target_ulong. 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: <20241212185341.2857-6-philmd@linaro.org>
Diffstat (limited to 'include/exec')
-rw-r--r--include/exec/translate-all.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/exec/translate-all.h b/include/exec/translate-all.h
index 85c9460..c50661a 100644
--- a/include/exec/translate-all.h
+++ b/include/exec/translate-all.h
@@ -27,7 +27,7 @@ void tb_check_watchpoint(CPUState *cpu, uintptr_t retaddr);
#ifdef CONFIG_USER_ONLY
void page_protect(tb_page_addr_t page_addr);
-int page_unprotect(target_ulong address, uintptr_t pc);
+int page_unprotect(tb_page_addr_t address, uintptr_t pc);
#endif
#endif /* TRANSLATE_ALL_H */