summaryrefslogtreecommitdiff
path: root/src/arch/x86/linux/linux.hh
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2009-10-02 01:32:58 -0700
committerGabe Black <gblack@eecs.umich.edu>2009-10-02 01:32:58 -0700
commit44ceb80c2dd1c4991357292ca27809b5012b9556 (patch)
tree2af9f05d2bd5b0870732d67f72fe7deb4b3805aa /src/arch/x86/linux/linux.hh
parent86f3bec76d1bd14ed11188877dd3039d0bcfd489 (diff)
downloadgem5-44ceb80c2dd1c4991357292ca27809b5012b9556.tar.xz
X86: Make successive anonymous mmaps move down in 32 bit SE mode Linux.
Diffstat (limited to 'src/arch/x86/linux/linux.hh')
-rw-r--r--src/arch/x86/linux/linux.hh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/arch/x86/linux/linux.hh b/src/arch/x86/linux/linux.hh
index d5bead8f3..a810d4a79 100644
--- a/src/arch/x86/linux/linux.hh
+++ b/src/arch/x86/linux/linux.hh
@@ -190,7 +190,9 @@ class X86Linux32 : public Linux
uint32_t totalhigh; /* Total high memory size */
uint32_t freehigh; /* Available high memory size */
uint32_t mem_unit; /* Memory unit size in bytes */
- } tgt_sysinfo;
+ } tgt_sysinfo;
+
+ static bool mmapGrowsDown() { return true; }
};
#endif