summaryrefslogtreecommitdiff
path: root/sim/process.cc
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2005-02-23 11:45:25 -0500
committerAli Saidi <saidi@eecs.umich.edu>2005-02-23 11:45:25 -0500
commit9ebeb9b2de34673fffce06baf1420f85993ba806 (patch)
tree00803bde8781393696f513c2f940a2d3b2ae8f43 /sim/process.cc
parent2298e2ba481d6cdba020a405bd878fe4f554b658 (diff)
downloadgem5-9ebeb9b2de34673fffce06baf1420f85993ba806.tar.xz
Added mmap start and end so detailed CPU can know if an access is
in a mmaped region --HG-- extra : convert_revision : e4ee0520c84d94a0d2e804d02035228766abe71f
Diffstat (limited to 'sim/process.cc')
-rw-r--r--sim/process.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/process.cc b/sim/process.cc
index c725d3b1c..f09452c42 100644
--- a/sim/process.cc
+++ b/sim/process.cc
@@ -282,7 +282,7 @@ LiveProcess::LiveProcess(const string &name, ObjectFile *objFile,
// Set up region for mmaps. Tru64 seems to start just above 0 and
// grow up from there.
- mmap_base = 0x10000;
+ mmap_start = mmap_end = 0x10000;
// Set pointer for next thread stack. Reserve 8M for main stack.
next_thread_stack_base = stack_base - (8 * 1024 * 1024);