📄 x-custom5.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head><link rel="STYLESHEET" type="text/css" href="wrs.css"><title> Customizing WindView and User Applications </title></head><body bgcolor="FFFFFF"><p class="navbar" align="right"><a href="index.html"><img border="0" alt="[Contents]" src="icons/contents.gif"></a><a href="x-custom.html"><img border="0" alt="[Index]" src="icons/index.gif"></a><a href="x-custom.html"><img border="0" alt="[Top]" src="icons/top.gif"></a><a href="x-custom4.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="x-timestamp.html"><img border="0" alt="[Next]" src="icons/next.gif"></a></p><font face="Helvetica, sans-serif" class="sans"><h3 class="H2"><i><a name="85620">F.5 Updating Non-WRS Code to WindView 2.0</a></i></h3></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="85518"> </a>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.</p><dd><p class="Body"><a name="85521"> </a>The code below shows the WindView 1.0.1 instrumentation point coded in an interrupt controller:</p></dl><dl class="margin"><dd><pre class="Code"><b><a name="85524">#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</a></b></pre></dl><dl class="margin"><dd><p class="Body"><a name="85522"> </a>To update this instrumentation point to WindView 2.0, it should be changed to the following:</p></dl><dl class="margin"><dd><pre class="Code"><b><a name="85529">#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</a></b></pre></dl></dl><a name="foot"><hr></a><p class="navbar" align="right"><a href="index.html"><img border="0" alt="[Contents]" src="icons/contents.gif"></a><a href="x-custom.html"><img border="0" alt="[Index]" src="icons/index.gif"></a><a href="x-custom.html"><img border="0" alt="[Top]" src="icons/top.gif"></a><a href="x-custom4.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="x-timestamp.html"><img border="0" alt="[Next]" src="icons/next.gif"></a></p></body></html><!---by WRS Documentation (), Wind River Systems, Inc. conversion tool: Quadralay WebWorks Publisher 4.0.11 template: CSS Template, Jan 1998 - Jefro --->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -