Bochs tweak: properly handle restore() after TimerEvent
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1331 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
@ -507,6 +507,13 @@ unsigned BX_CPU_C::handleAsyncEvent(void)
|
||||
#endif
|
||||
|
||||
BX_TICKN(10); // when in HLT run time faster for single CPU
|
||||
|
||||
// DanceOS
|
||||
#ifdef DANCEOS_RESTORE
|
||||
if (fail::restore_bochs_request) {
|
||||
return 1;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
} else if (bx_pc_system.kill_bochs_request) {
|
||||
// setting kill_bochs_request causes the cpu loop to return ASAP.
|
||||
|
||||
Reference in New Issue
Block a user