No need for this ifdef, since the entire process.hh is surounded by an ifndef FULL_SYSTEM
authorRon Dreslinski <rdreslin@umich.edu>
Wed, 16 Mar 2005 23:26:32 +0000 (18:26 -0500)
committerRon Dreslinski <rdreslin@umich.edu>
Wed, 16 Mar 2005 23:26:32 +0000 (18:26 -0500)
--HG--
extra : convert_revision : 81009e5c468eaaee06c83c35f1d05ed2863299a4

sim/process.hh

index 1c6c6b3fb1acc04535b6e48d607a5b8a3b8c9abe..51d7639aca9a1b9a0a968e74810955561f986357 100644 (file)
@@ -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));