aboutsummaryrefslogtreecommitdiff
path: root/linux-user/mips
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-07-07 21:40:35 +0100
committerRichard Henderson <richard.henderson@linaro.org>2023-07-15 08:02:32 +0100
commit6edfca9eae639707b85d04b050bc7ff09330e58b (patch)
treeb9663c17acd1356a4e0a6b1b1876467ab7828b2f /linux-user/mips
parent492fe4e75461d016d77913d0b3f7356a433ee8a1 (diff)
downloadqemu-6edfca9eae639707b85d04b050bc7ff09330e58b.zip
qemu-6edfca9eae639707b85d04b050bc7ff09330e58b.tar.gz
qemu-6edfca9eae639707b85d04b050bc7ff09330e58b.tar.bz2
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>
Diffstat (limited to 'linux-user/mips')
-rw-r--r--linux-user/mips/target_mman.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux-user/mips/target_mman.h b/linux-user/mips/target_mman.h
index cd566c2..e97694a 100644
--- a/linux-user/mips/target_mman.h
+++ b/linux-user/mips/target_mman.h
@@ -1,6 +1,8 @@
#ifndef MIPS_TARGET_MMAN_H
#define MIPS_TARGET_MMAN_H
+#define TARGET_PROT_SEM 0x10
+
#define TARGET_MAP_NORESERVE 0x0400
#define TARGET_MAP_ANONYMOUS 0x0800
#define TARGET_MAP_GROWSDOWN 0x1000