Don't let interupts interupt microcode at undesired points.
--HG-- extra : convert_revision : a8ddc6b213b1a1b0d9c5cd194b88ac0c6bfb2a21
This commit is contained in:
parent
a8973c6054
commit
e9908e3c85
|
@ -448,6 +448,7 @@ AtomicSimpleCPU::tick()
|
|||
for (int i = 0; i < width; ++i) {
|
||||
numCycles++;
|
||||
|
||||
if (!curStaticInst || !curStaticInst->isDelayedCommit())
|
||||
checkForInterrupts();
|
||||
|
||||
Fault fault = setupFetchRequest(ifetch_req);
|
||||
|
|
|
@ -427,6 +427,7 @@ TimingSimpleCPU::write(int32_t data, Addr addr, unsigned flags, uint64_t *res)
|
|||
void
|
||||
TimingSimpleCPU::fetch()
|
||||
{
|
||||
if (!curStaticInst || !curStaticInst->isDelayedCommit())
|
||||
checkForInterrupts();
|
||||
|
||||
Request *ifetch_req = new Request();
|
||||
|
|
Loading…
Reference in a new issue