Users who write their own BSPs and drivers, or who use BSPs and drivers not supplied by Wind River Systems, need to update WindView calls in this code to make it compatible with WindView 2.0.
The code below shows the WindView 1.0.1 instrumentation point coded in an interrupt controller:
#ifdef INCLUDE_INSTRUMENTATION /* windview instrumentation - log interrupt event. * evtTimeStamp has the value taken during intEnt. intVec is * obtained in this function and the two data are logged here */ if (evtLogTIsOn) (* _func_evtLogT1_noTS) (EVENT_INT_ENT((int)intVec), evtTimeStamp); #endif
#ifdef INCLUDE_WINDVIEW /* windview instrumentation - log interrupt event. * evtTimeStamp has the value taken during intEnt. intVec is * obtained in this function and the two data are logged here */ if (ACTION_IS_SET) { if ( WV_EVTCLASS_IS_SET(WV_CLASS_1|WV_ON) ) (* _func_evtLogT1_noTS)(EVENT_INT_ENT((int)intVec), evtTimeStamp); if (TRG_EVTCLASS_IS_SET(TRG_CLASS_1|TRG_ON)) ( * _func_trgCheck) (EVENT_INT_ENT((int)intVec), TRG_CLASS1_INDEX, NULL, NULL, NULL, NULL, NULL, NULL); } #endif