No need for this ifdef, since the entire process.hh is surounded by an ifndef FULL_SYSTEM
--HG-- extra : convert_revision : 81009e5c468eaaee06c83c35f1d05ed2863299a4
This commit is contained in:
parent
9d6fcfd314
commit
f2dd820972
1 changed files with 0 additions and 4 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue