summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-07-30 15:42:04 -0700
committerGabe Black <gblack@eecs.umich.edu>2007-07-30 15:42:04 -0700
commit43f0be52537a27f5e88e4740bde32b8d0654a868 (patch)
tree9aee48bfbc7490878f8e8c288f1fae5960604043
parent890e583163cd593cb683dc523dceab83fe9d6bc8 (diff)
downloadgem5-43f0be52537a27f5e88e4740bde32b8d0654a868.tar.xz
X86: Use an mmap base address that matches what an actual machine uses.
--HG-- extra : convert_revision : 98521797bbc6360301b3c6a6b1b8e28236ef570e
-rw-r--r--src/arch/x86/process.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/arch/x86/process.cc b/src/arch/x86/process.cc
index 6d30e53e3..036805612 100644
--- a/src/arch/x86/process.cc
+++ b/src/arch/x86/process.cc
@@ -127,9 +127,9 @@ X86LiveProcess::X86LiveProcess(const std::string &nm, ObjectFile *objFile,
// for undertermined purposes.
stack_base = (Addr)0x7FFFFFFFF000ULL;
- // Set up region for mmaps. Tru64 seems to start just above 0 and
- // grow up from there.
- mmap_start = mmap_end = 0xfffff80000000000ULL;
+ // Set up region for mmaps. This was determined empirically and may not
+ // always be correct.
+ mmap_start = mmap_end = 0x2aaaaaaab000;
}
void X86LiveProcess::handleTrap(int trapNum, ThreadContext *tc)