EVFunc

EventFunction(
 pevent pev,
 pioreq pir
 )
 

The event function is called by the IFS manager when it gets the callback from the VMM. The interface to the event function is described below. The IFS manager allocates an IOREQ structure if this is a task time event. An IOREQ is not allocated for a VM event.

pev
Supplies pointer to the event structure. This event structure is the same as what was passed in on the IFSMgr_SchedEvent service when the event was scheduled. The IFS manager does not pass in any values in this structure.
pir
Supplies pointer to the IOREQ structure. The event function can use this IOREQ structure for calling the IFS manager. A NULL pointer is passed in if this is not a task-time event. Event functions that handle non-task-time events should not use the IOREQ at all.
IOREQ Structure:  
ir_user Supplies user id.