fix wait for interrupt. Adapt for new SCC structure

This commit is contained in:
2021-04-07 17:42:08 +02:00
parent 0a76ccbdac
commit 7009943106
4 changed files with 12 additions and 20 deletions

View File

@ -191,6 +191,8 @@ public:
} else
this->csr[arch::mip] &= ~mask;
this->check_interrupt();
if(value)
SCCTRACE(owner->name()) << "Triggering interrupt " << id << " Pending trap: " << this->reg.pending_trap;
}
private: