02.03.2014 Views

BSP Developer's Guide

BSP Developer's Guide

BSP Developer's Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

VxWorks 5.5<br />

<strong>BSP</strong> Developer’s <strong>Guide</strong><br />

Figure H-2<br />

The MUX Interface<br />

muxBind( )<br />

stackShutdownRtn( ) muxUnbind( )<br />

muxDevLoad( )<br />

muxDevUnload( )<br />

endLoad( )<br />

endUnload( )<br />

stackRcvRtn( )<br />

stackError( )<br />

muxReceive( )<br />

muxError( )<br />

muxSend( )<br />

endSend( )<br />

stackTxRestartRtn( ) muxTxRestartRtn( ) endTxRestartRtn( )<br />

muxMCastAddrDel( )<br />

muxMCastAddrGet( )<br />

endMCastAddrDel( )<br />

endMCastAddrGet( )<br />

muxPollSend( )<br />

muxMCastAddrAdd( )<br />

endPollSend( )<br />

endMCastAddrAdd( )<br />

muxPollReceive( )<br />

endPollReceive( )<br />

muxIoctl( ) endIoctl( )<br />

endStart( )<br />

endStop( )<br />

Protocol MUX END<br />

The arrows indicate calls to an entry point. For example, the top-most arrow tells you that the protocol<br />

calls muxBind( ), a routine implemented in the MUX. If the MUX-based API specifies both ends of the<br />

call, the figure specifies a routine name at each end of an arrow. For example, muxSend( ) calls<br />

endSend( ). Note that, although the protocol started the send by calling muxSend( ), the figure does<br />

not name the protocol routine that called muxSend( ). That routine is outside the standardized API.<br />

H.2 How VxWorks Launches and Uses Your Driver<br />

The primary focus of this chapter is on the MUX utilities and the standard END<br />

entry points. However, when designing or debugging your driver’s entry points,<br />

270

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!