Documentation / corrected Bochs timer
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1718 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
@ -37,8 +37,10 @@ aspect BochsListener {
|
||||
{
|
||||
assert(pev != NULL && "FATAL ERROR: TimerListener object ptr cannot be NULL!");
|
||||
return static_cast<timer_id_t>(
|
||||
bx_pc_system.register_timer(pev, fail::onTimerTrigger, pev->getTimeout(),
|
||||
false, 1/*start immediately*/, "Fail*: BochsController"/*name*/));
|
||||
bx_pc_system.register_timer(pev, fail::onTimerTrigger,
|
||||
pev->getTimeout() * 1000 /*timeout in microseconds*/,
|
||||
false /*non-continuous*/,
|
||||
true /*start immediately*/, "Fail*: BochsController"/*name*/));
|
||||
}
|
||||
bool m_unregisterTimer(TimerListener* pev)
|
||||
{
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
#include "../SALInst.hpp"
|
||||
#include "BochsListener.hpp"
|
||||
#include "../SALInst.hpp"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user