diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-07-07 21:40:34 +0100 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-07-15 08:02:32 +0100 |
commit | 492fe4e75461d016d77913d0b3f7356a433ee8a1 (patch) | |
tree | a677954d8bf397cd460570d4de9659b5f76cb838 /linux-user/hppa | |
parent | 40965ad93127204058b0f17719f9579709e4344a (diff) | |
download | qemu-492fe4e75461d016d77913d0b3f7356a433ee8a1.zip qemu-492fe4e75461d016d77913d0b3f7356a433ee8a1.tar.gz qemu-492fe4e75461d016d77913d0b3f7356a433ee8a1.tar.bz2 |
linux-user: Split TARGET_MAP_* 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>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230707204054.8792-7-richard.henderson@linaro.org>
Diffstat (limited to 'linux-user/hppa')
-rw-r--r-- | linux-user/hppa/target_mman.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/linux-user/hppa/target_mman.h b/linux-user/hppa/target_mman.h index f9b6b97..97f87d0 100644 --- a/linux-user/hppa/target_mman.h +++ b/linux-user/hppa/target_mman.h @@ -1,6 +1,16 @@ #ifndef HPPA_TARGET_MMAN_H #define HPPA_TARGET_MMAN_H +#define TARGET_MAP_TYPE 0x2b +#define TARGET_MAP_FIXED 0x04 +#define TARGET_MAP_ANONYMOUS 0x10 +#define TARGET_MAP_GROWSDOWN 0x8000 +#define TARGET_MAP_POPULATE 0x10000 +#define TARGET_MAP_NONBLOCK 0x20000 +#define TARGET_MAP_STACK 0x40000 +#define TARGET_MAP_HUGETLB 0x80000 +#define TARGET_MAP_UNINITIALIZED 0 + #define TARGET_MADV_MERGEABLE 65 #define TARGET_MADV_UNMERGEABLE 66 #define TARGET_MADV_HUGEPAGE 67 |