summaryrefslogtreecommitdiff
path: root/src/sim/process.hh
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2011-10-28 13:04:33 -0500
committerNilay Vaish <nilay@cs.wisc.edu>2011-10-28 13:04:33 -0500
commit706323fa21de674d8064c95a3c0036f0342430ee (patch)
tree40bcf3249c0d9d9b21a70f65f0e56ca9020017f7 /src/sim/process.hh
parentcbaebb3b5ebe709689f481ad395034335bea2152 (diff)
parent6f9d294e8685f49d91af48065736ac1d67e53718 (diff)
downloadgem5-706323fa21de674d8064c95a3c0036f0342430ee.tar.xz
Merged with recent changes.
Diffstat (limited to 'src/sim/process.hh')
-rw-r--r--src/sim/process.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sim/process.hh b/src/sim/process.hh
index d48b1b463..4c31597b4 100644
--- a/src/sim/process.hh
+++ b/src/sim/process.hh
@@ -212,6 +212,8 @@ class Process : public SimObject
virtual void syscall(int64_t callnum, ThreadContext *tc) = 0;
+ void allocateMem(Addr vaddr, int64_t size, bool clobber = false);
+
/// Attempt to fix up a fault at vaddr by allocating a page on the stack.
/// @return Whether the fault has been fixed.
bool fixupStackFault(Addr vaddr);