Bochs-internal hacks

- CPU-loop function loses unused pInstr parameter
- restore functionality in handleAsyncEvent moves *before* idle loop to
  make sure we catch restore requests right before falling asleep

git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1120 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
hsc
2012-04-19 18:02:10 +00:00
parent dde01c4e92
commit 8a306f8931
2 changed files with 10 additions and 9 deletions

View File

@ -22,7 +22,7 @@ aspect Breakpoints
// BX_CPU(0) otherwise
BX_CPU_C* pThis = *(tjp->arg<0>());
// Points to the *current* bxInstruction-object
bxInstruction_c* pInstr = *(tjp->arg<1>());
//bxInstruction_c* pInstr = *(tjp->arg<1>());
// report this event to the Bochs controller:
sal::simulator.onInstrPtrChanged(pThis->get_instruction_pointer());