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/mem/translating_port.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mem') diff --git a/src/mem/translating_port.cc b/src/mem/translating_port.cc index 210f9beb3..80c68c6bd 100644 --- a/src/mem/translating_port.cc +++ b/src/mem/translating_port.cc @@ -90,7 +90,7 @@ TranslatingPort::tryWriteBlob(Addr addr, uint8_t *p, int size) VMPageSize); } else if (allocating == NextPage) { // check if we've accessed the next page on the stack - if (!process->checkAndAllocNextPage(gen.addr())) + if (!process->fixupStackFault(gen.addr())) panic("Page table fault when accessing virtual address %#x " "during functional write\n", gen.addr()); } else { -- cgit v1.2.3