-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
Showing
9 changed files
with
128 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,17 @@ | ||
#ifndef MIPS_TARGET_MMAN_H | ||
#define MIPS_TARGET_MMAN_H | ||
|
||
#define TARGET_MAP_NORESERVE 0x0400 | ||
#define TARGET_MAP_ANONYMOUS 0x0800 | ||
#define TARGET_MAP_GROWSDOWN 0x1000 | ||
#define TARGET_MAP_DENYWRITE 0x2000 | ||
#define TARGET_MAP_EXECUTABLE 0x4000 | ||
#define TARGET_MAP_LOCKED 0x8000 | ||
#define TARGET_MAP_POPULATE 0x10000 | ||
#define TARGET_MAP_NONBLOCK 0x20000 | ||
#define TARGET_MAP_STACK 0x40000 | ||
#define TARGET_MAP_HUGETLB 0x80000 | ||
|
||
#include "../generic/target_mman.h" | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
#include "../generic/target_mman.h" | ||
#include "../mips/target_mman.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,9 @@ | ||
#ifndef PPC_TARGET_MMAN_H | ||
#define PPC_TARGET_MMAN_H | ||
|
||
#define TARGET_MAP_NORESERVE 0x40 | ||
#define TARGET_MAP_LOCKED 0x80 | ||
|
||
#include "../generic/target_mman.h" | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,10 @@ | ||
#ifndef SPARC_TARGET_MMAN_H | ||
#define SPARC_TARGET_MMAN_H | ||
|
||
#define TARGET_MAP_NORESERVE 0x40 | ||
#define TARGET_MAP_LOCKED 0x100 | ||
#define TARGET_MAP_GROWSDOWN 0x0200 | ||
|
||
#include "../generic/target_mman.h" | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,17 @@ | ||
#ifndef XTENSA_TARGET_MMAN_H | ||
#define XTENSA_TARGET_MMAN_H | ||
|
||
#define TARGET_MAP_NORESERVE 0x0400 | ||
#define TARGET_MAP_ANONYMOUS 0x0800 | ||
#define TARGET_MAP_GROWSDOWN 0x1000 | ||
#define TARGET_MAP_DENYWRITE 0x2000 | ||
#define TARGET_MAP_EXECUTABLE 0x4000 | ||
#define TARGET_MAP_LOCKED 0x8000 | ||
#define TARGET_MAP_POPULATE 0x10000 | ||
#define TARGET_MAP_NONBLOCK 0x20000 | ||
#define TARGET_MAP_STACK 0x40000 | ||
#define TARGET_MAP_HUGETLB 0x80000 | ||
|
||
#include "../generic/target_mman.h" | ||
|
||
#endif |