linux-user: Split TARGET_PROT_* out of syscall_defs.h

Move the values into the per-target target_mman.h headers

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230707204054.8792-8-richard.henderson@linaro.org>
This commit is contained in:
Richard Henderson 2023-07-07 21:40:35 +01:00
parent 492fe4e754
commit 6edfca9eae
5 changed files with 17 additions and 12 deletions

View file

@ -1227,17 +1227,6 @@ struct target_winsize {
#include "termbits.h"
#if defined(TARGET_MIPS) || defined(TARGET_XTENSA)
#define TARGET_PROT_SEM 0x10
#else
#define TARGET_PROT_SEM 0x08
#endif
#ifdef TARGET_AARCH64
#define TARGET_PROT_BTI 0x10
#define TARGET_PROT_MTE 0x20
#endif
#include "target_mman.h"
#if (defined(TARGET_I386) && defined(TARGET_ABI32)) \