summaryrefslogtreecommitdiff
path: root/src/arch/alpha
diff options
context:
space:
mode:
authorSteve Reinhardt <steve.reinhardt@amd.com>2011-10-22 22:30:07 -0700
committerSteve Reinhardt <steve.reinhardt@amd.com>2011-10-22 22:30:07 -0700
commit4d5f2c28a88f83d390e80407f55a8a02ead33878 (patch)
tree59f8aca2bd6995a396aade765156272998fc8bbf /src/arch/alpha
parentc6dd122feef8cfb4785b8d45f40907bd6c73e04a (diff)
downloadgem5-4d5f2c28a88f83d390e80407f55a8a02ead33878.tar.xz
syscall_emul: implement MAP_FIXED option to mmap()
Diffstat (limited to 'src/arch/alpha')
-rw-r--r--src/arch/alpha/linux/linux.hh1
-rw-r--r--src/arch/alpha/tru64/tru64.hh1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/arch/alpha/linux/linux.hh b/src/arch/alpha/linux/linux.hh
index c728ce1fb..3304816c3 100644
--- a/src/arch/alpha/linux/linux.hh
+++ b/src/arch/alpha/linux/linux.hh
@@ -69,6 +69,7 @@ class AlphaLinux : public Linux
/// For mmap().
static const unsigned TGT_MAP_ANONYMOUS = 0x10;
+ static const unsigned TGT_MAP_FIXED = 0x100;
//@{
/// For getsysinfo().
diff --git a/src/arch/alpha/tru64/tru64.hh b/src/arch/alpha/tru64/tru64.hh
index 0ee12973c..f0cad8289 100644
--- a/src/arch/alpha/tru64/tru64.hh
+++ b/src/arch/alpha/tru64/tru64.hh
@@ -64,6 +64,7 @@ class AlphaTru64 : public Tru64
/// For mmap().
static const unsigned TGT_MAP_ANONYMOUS = 0x10;
+ static const unsigned TGT_MAP_FIXED = 0x100;
//@{
/// For getsysinfo().