reboot (and interrupt injection?) are also async_events
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1411 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
@ -183,6 +183,7 @@ void BochsController::reboot()
|
||||
{
|
||||
clearEvents();
|
||||
reboot_bochs_request = true;
|
||||
BX_CPU(0)->async_event |= 1;
|
||||
m_CurrFlow = m_Flows.getCurrent();
|
||||
m_Flows.resume();
|
||||
}
|
||||
@ -197,6 +198,7 @@ void BochsController::fireInterrupt(unsigned irq)
|
||||
{
|
||||
interrupt_injection_request = true;
|
||||
interrupt_to_fire = irq;
|
||||
// FIXME needed? BX_CPU(0)->async_event |= 1;
|
||||
m_CurrFlow = m_Flows.getCurrent();
|
||||
m_Flows.resume();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user