From a1ad9e652a1a8b0b7d8c5dd2229324792010f6f3 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Fri, 9 Sep 2011 01:01:43 -0700 Subject: Stack: Tidy up some comments, a warning, and make stack extension consistent. Do some minor cleanup of some recently added comments, a warning, and change other instances of stack extension to be like what's now being done for x86. --- src/sim/process.hh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/sim/process.hh') diff --git a/src/sim/process.hh b/src/sim/process.hh index 94f6d1800..d48b1b463 100644 --- a/src/sim/process.hh +++ b/src/sim/process.hh @@ -212,9 +212,9 @@ class Process : public SimObject virtual void syscall(int64_t callnum, ThreadContext *tc) = 0; - // check if the this addr is on the next available page and allocate it - // if it's not we'll panic - bool checkAndAllocNextPage(Addr vaddr); + /// 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); void serialize(std::ostream &os); void unserialize(Checkpoint *cp, const std::string §ion); -- cgit v1.2.3