diff options
Diffstat (limited to 'src/sim/process.hh')
-rw-r--r-- | src/sim/process.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sim/process.hh b/src/sim/process.hh index 82879c0e6..f738bb38a 100644 --- a/src/sim/process.hh +++ b/src/sim/process.hh @@ -203,6 +203,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); |