Some fixes and missing comments for restore-mechanism.

git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1236 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
adrian
2012-05-16 12:02:28 +00:00
parent 08c8b05b96
commit 0d32dac7c3
5 changed files with 25 additions and 13 deletions

View File

@ -131,9 +131,13 @@ void BX_CPU_C::cpu_loop(Bit32u max_instr_count)
// If request to return to caller ASAP.
return;
}
}else if(sal::restore_bochs_request){ //DanceOS
return;
}
// DanceOS
#ifdef DANCEOS_RESTORE
else if(sal::restore_bochs_request) {
return;
}
#endif
bxICacheEntry_c *entry = getICacheEntry();