diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2011-09-09 01:01:43 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2011-09-09 01:01:43 -0700 |
commit | a1ad9e652a1a8b0b7d8c5dd2229324792010f6f3 (patch) | |
tree | 97577adc8e71a46e9d4b34d255c4fd84df3b88d0 /src/mem/translating_port.cc | |
parent | f370ac5c186d063bd169c07ea89e1792617264cd (diff) | |
download | gem5-a1ad9e652a1a8b0b7d8c5dd2229324792010f6f3.tar.xz |
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.
Diffstat (limited to 'src/mem/translating_port.cc')
-rw-r--r-- | src/mem/translating_port.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |