diff options
| author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-04-19 10:39:26 +0200 |
|---|---|---|
| committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-12-20 17:44:57 +0100 |
| commit | 384fd3543b8a4f53269bb0e57d62189b43b4a635 (patch) | |
| tree | 33bdcd9f69eb1aa7aac019544826c7dfe327a90d /accel/tcg/user-exec.c | |
| parent | 487a31e0acf9c5e11506ac34feba5a5671fd2dd9 (diff) | |
| download | focaccia-qemu-384fd3543b8a4f53269bb0e57d62189b43b4a635.tar.gz focaccia-qemu-384fd3543b8a4f53269bb0e57d62189b43b4a635.zip | |
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 'accel/tcg/user-exec.c')
| -rw-r--r-- | accel/tcg/user-exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accel/tcg/user-exec.c b/accel/tcg/user-exec.c index 06016eb030..4ed6dd19f3 100644 --- a/accel/tcg/user-exec.c +++ b/accel/tcg/user-exec.c @@ -696,7 +696,7 @@ void page_protect(tb_page_addr_t address) * immediately exited. (We can only return 2 if the 'pc' argument is * non-zero.) */ -int page_unprotect(target_ulong address, uintptr_t pc) +int page_unprotect(tb_page_addr_t address, uintptr_t pc) { PageFlagsNode *p; bool current_tb_invalidated; |