projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d52339
)
ARM: Zero the micropc when vectoring to a fault.
author
Gabe Black
<gblack@eecs.umich.edu>
Wed, 2 Jun 2010 17:58:10 +0000
(12:58 -0500)
committer
Gabe Black
<gblack@eecs.umich.edu>
Wed, 2 Jun 2010 17:58:10 +0000
(12:58 -0500)
src/arch/arm/faults.cc
patch
|
blob
|
history
diff --git
a/src/arch/arm/faults.cc
b/src/arch/arm/faults.cc
index 9b365790913c201d6592e6bba6bab0e6c5a799a9..8428931a70909e6f95e6c382e4324b69c2e150d7 100644
(file)
--- a/
src/arch/arm/faults.cc
+++ b/
src/arch/arm/faults.cc
@@
-141,6
+141,7
@@
ArmFaultBase::invoke(ThreadContext *tc)
Addr newPc = getVector(tc) | (sctlr.te ? (ULL(1) << PcTBitShift) : 0);
tc->setPC(newPc);
tc->setNextPC(newPc + cpsr.t ? 2 : 4 );
+ tc->setMicroPC(0);
}
#else