diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2025-03-27 16:48:09 -0500 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2025-04-23 15:04:57 -0700 |
| commit | b103cc6e74ac92f070a0e004bd84334e845c20b5 (patch) | |
| tree | a67de38225dbbcede28a526e19ebd6312de67cf9 /include | |
| parent | aa6f138abada97176598c89a9e4e3a7c3d47cb1e (diff) | |
| download | focaccia-qemu-b103cc6e74ac92f070a0e004bd84334e845c20b5.tar.gz focaccia-qemu-b103cc6e74ac92f070a0e004bd84334e845c20b5.zip | |
accel/tcg: Remove page_protect
Merge the user-only page_protect function with the user-only implementation of tb_lock_page0. This avoids pulling page-protection.h into tb-internal.h. Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/user/page-protection.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/user/page-protection.h b/include/user/page-protection.h index 51daa18648..d5c8748d49 100644 --- a/include/user/page-protection.h +++ b/include/user/page-protection.h @@ -16,7 +16,6 @@ #include "exec/target_long.h" #include "exec/translation-block.h" -void page_protect(tb_page_addr_t page_addr); int page_unprotect(tb_page_addr_t address, uintptr_t pc); int page_get_flags(target_ulong address); |