accel/tcg: Move user-related declarations out of 'exec/cpu-all.h' (2/4)

Move declarations related to page protection under user
emulation from "exec/cpu-all.h" 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-13-philmd@linaro.org>
This commit is contained in:
Philippe Mathieu-Daudé 2024-12-12 17:51:10 +01:00
parent 970ae60e9b
commit 62ef949bbc
4 changed files with 61 additions and 56 deletions

View file

@ -23,7 +23,9 @@
#include "internals.h"
#include "exec/exec-all.h"
#include "exec/page-protection.h"
#ifndef CONFIG_USER_ONLY
#ifdef CONFIG_USER_ONLY
#include "user/page-protection.h"
#else
#include "exec/ram_addr.h"
#endif
#include "exec/cpu_ldst.h"