accel/tcg: Move page_[un]protect() to 'user/page-protection.h'

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-7-philmd@linaro.org>
This commit is contained in:
Philippe Mathieu-Daudé 2024-12-12 17:10:46 +01:00
parent 384fd3543b
commit 634f1455fc
5 changed files with 23 additions and 7 deletions

View file

@ -8,6 +8,7 @@
#include "qemu.h"
#include "user/tswap-target.h"
#include "user/page-protection.h"
#include "exec/page-protection.h"
#include "user/guest-base.h"
#include "user-internals.h"
@ -3918,7 +3919,6 @@ int load_elf_binary(struct linux_binprm *bprm, struct image_info *info)
}
#ifdef USE_ELF_CORE_DUMP
#include "exec/translate-all.h"
/*
* Definitions to generate Intel SVR4-like core files.