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

@ -23,7 +23,11 @@
#define TARGET_MAP_NORESERVE 0x4000
#endif
/* Other MAP flags are defined in asm-generic/mman-common.h */
/* Defined in asm-generic/mman-common.h */
#ifndef TARGET_PROT_SEM
#define TARGET_PROT_SEM 0x08
#endif
#ifndef TARGET_MAP_TYPE
#define TARGET_MAP_TYPE 0x0f
#endif