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/arch/sparc | |
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/arch/sparc')
-rw-r--r-- | src/arch/sparc/faults.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/sparc/faults.cc b/src/arch/sparc/faults.cc index 814a33bd3..01d57e627 100644 --- a/src/arch/sparc/faults.cc +++ b/src/arch/sparc/faults.cc @@ -643,8 +643,8 @@ FastDataAccessMMUMiss::invoke(ThreadContext *tc, StaticInstPtr inst) TlbEntry entry; bool success = p->pTable->lookup(vaddr, entry); if (!success) { - p->checkAndAllocNextPage(vaddr); - success = p->pTable->lookup(vaddr, entry); + if (p->fixupStackFault(vaddr)) + success = p->pTable->lookup(vaddr, entry); } if (!success) { panic("Tried to access unmapped address %#x.\n", vaddr); |