projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69e91d7
)
Used the Fault constructor to create Interrupt faults. Using the pointer directly...
author
Gabe Black
<gblack@eecs.umich.edu>
Wed, 1 Mar 2006 05:14:09 +0000
(
00:14
-0500)
committer
Gabe Black
<gblack@eecs.umich.edu>
Wed, 1 Mar 2006 05:14:09 +0000
(
00:14
-0500)
cpu/simple/cpu.cc:
Used the Fault constructor to create an Interrupt fault.
--HG--
extra : convert_revision :
ec2ef7e3cd04ee9a44628877dc6e770fb907104b
cpu/simple/cpu.cc
patch
|
blob
|
history
diff --git
a/cpu/simple/cpu.cc
b/cpu/simple/cpu.cc
index d826c589ec1bc79908df3233c661c99cb4db980c..e5c2e18cfab875c856d22af479d19f4a89a284d8 100644
(file)
--- a/
cpu/simple/cpu.cc
+++ b/
cpu/simple/cpu.cc
@@
-687,7
+687,7
@@
SimpleCPU::tick()
if (ipl && ipl > xc->readMiscReg(IPR_IPLR)) {
xc->setMiscReg(IPR_ISR, summary);
xc->setMiscReg(IPR_INTID, ipl);
- (new InterruptFault)->ev5_trap(xc);
+
Fault
(new InterruptFault)->ev5_trap(xc);
DPRINTF(Flow, "Interrupt! IPLR=%d ipl=%d summary=%x\n",
xc->readMiscReg(IPR_IPLR), ipl, summary);