Datasheet
ARMulator Reference
4-40 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D
4.9 Event scheduling functions
The following functions enable you to schedule or remove events:
• ARMulif_ScheduleTimedFunction
• ARMulif_DescheduleTimedFunction.
4.9.1 ARMulif_ScheduleTimedFunction
This function schedules events using memory system cycles. It enables a function to be
called at a specified number of cycles in the future.
Syntax
void *ARMulif_ScheduleTimedFunction(RDI_ModuleDesc *mdesc,
ARMul_TimedCallback *tcb)
where:
mdesc
is the handle for the core.
tcb
is a handle for you to use if you want to deschedule the function.
NoteNote
The function can be called only on the first instruction boundary following the specified
cycle.
4.9.2 ARMulif_DescheduleTimedFunction
ARMul_DescheduleTimedFunction()
removes a previously-scheduled memory cycle based
event.
Syntax
unsigned ARMulif_DescheduleTimedFunction(RDI_ModuleDesc *mdesc, void *tcb);
where:
mdesc
is the handle for the core.
tcb
is the handle supplied by
ARMulif_ScheduleTimedFunction
when the event
was first set up.