summaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorRon Dreslinski <rdreslin@umich.edu>2005-03-16 18:26:32 -0500
committerRon Dreslinski <rdreslin@umich.edu>2005-03-16 18:26:32 -0500
commitf2dd82097263a726888af2a097547f3c6d2d6a03 (patch)
tree80b4b83d16ea203edfac0117b179c3ea3e81c56b /sim
parent9d6fcfd314c3cdabbd3de5219eae4e96058e34df (diff)
downloadgem5-f2dd82097263a726888af2a097547f3c6d2d6a03.tar.xz
No need for this ifdef, since the entire process.hh is surounded by an ifndef FULL_SYSTEM
--HG-- extra : convert_revision : 81009e5c468eaaee06c83c35f1d05ed2863299a4
Diffstat (limited to 'sim')
-rw-r--r--sim/process.hh4
1 files changed, 0 insertions, 4 deletions
diff --git a/sim/process.hh b/sim/process.hh
index 1c6c6b3fb..51d7639ac 100644
--- a/sim/process.hh
+++ b/sim/process.hh
@@ -163,11 +163,7 @@ class Process : public SimObject
bool validDataAddr(Addr addr)
{
return ((data_base <= addr && addr < brk_point) ||
-#ifdef FULLSYSTEM
- ((stack_base - 16*1024*1024) <= addr && addr < stack_base) ||
-#else
(next_thread_stack_base <= addr && addr < stack_base) ||
-#endif
(text_base <= addr && addr < (text_base + text_size)) ||
(mmap_start <= addr && addr < mmap_end) ||
(nxm_start <= addr && addr < nxm_end));