projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d6fcfd
)
No need for this ifdef, since the entire process.hh is surounded by an ifndef FULL_SYSTEM
author
Ron Dreslinski
<rdreslin@umich.edu>
Wed, 16 Mar 2005 23:26:32 +0000
(18:26 -0500)
committer
Ron Dreslinski
<rdreslin@umich.edu>
Wed, 16 Mar 2005 23:26:32 +0000
(18:26 -0500)
--HG--
extra : convert_revision :
81009e5c468eaaee06c83c35f1d05ed2863299a4
sim/process.hh
patch
|
blob
|
history
diff --git
a/sim/process.hh
b/sim/process.hh
index 1c6c6b3fb1acc04535b6e48d607a5b8a3b8c9abe..51d7639aca9a1b9a0a968e74810955561f986357 100644
(file)
--- 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));