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:
@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user