summaryrefslogtreecommitdiff
path: root/src/kern
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2009-10-02 01:32:00 -0700
committerGabe Black <gblack@eecs.umich.edu>2009-10-02 01:32:00 -0700
commit86f3bec76d1bd14ed11188877dd3039d0bcfd489 (patch)
tree34f202e1c8637febb456ed2fe8a0899849f0b050 /src/kern
parentf09f84da6ef01870991345539edae46b401cf311 (diff)
downloadgem5-86f3bec76d1bd14ed11188877dd3039d0bcfd489.tar.xz
SE mode: Make the direction anonymous mmaps move through memory configurable.
Diffstat (limited to 'src/kern')
-rw-r--r--src/kern/operatingsystem.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/kern/operatingsystem.hh b/src/kern/operatingsystem.hh
index 47e64ffd9..6574e3c6b 100644
--- a/src/kern/operatingsystem.hh
+++ b/src/kern/operatingsystem.hh
@@ -122,6 +122,10 @@ class OperatingSystem {
static int openSpecialFile(std::string path, LiveProcess *process, ThreadContext *tc);
+ static const bool mmapGrowsUp = true;
+
+ static bool mmapGrowsDown() { return false; }
+
}; // class OperatingSystem