Bochs aspects -> BochsController interface renamings

SimulatorController::on...Listener() does not really make sense: These
functions are called when a specific event occurs in the simulator.  A
"Listener" cannot occur.  Renaming these to "on..." for now; we could
alternatively use "on...Event" later.

git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1455 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
hsc
2012-07-16 18:21:06 +00:00
parent b245327b7e
commit e4570d95bd
10 changed files with 43 additions and 43 deletions

View File

@ -28,9 +28,9 @@ aspect Interrupt {
unsigned vector = *(tjp->arg<0>());
unsigned type = *(tjp->arg<1>());
if (type == BX_EXTERNAL_INTERRUPT)
fail::simulator.onInterruptListener(vector, false);
fail::simulator.onInterrupt(vector, false);
else if (type == BX_NMI)
fail::simulator.onInterruptListener(vector, true);
fail::simulator.onInterrupt(vector, true);
}
};