📄 mmul64862lib.html
字号:
<html><head><!-- /vobs/wpwr/docs/vxworks/ref/mmuL64862Lib.html - generated by refgen from ../sparc/mmuL64862Lib.c --> <title> mmuL64862Lib </title></head><body bgcolor="#FFFFFF"> <hr><a name="top"></a><p align=right><a href="libIndex.html"><i>VxWorks Reference Manual : Libraries</i></a></p></blockquote><h1>mmuL64862Lib</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>mmuL64862Lib</strong> - LSI Logic L64862 MBus-to-SBus Interface: I/O DMA library (SPARC) </p></blockquote><h4>ROUTINES</h4><blockquote><p><p><b><i><a href="./mmuL64862Lib.html#mmuL64862DmaInit">mmuL64862DmaInit</a></i>( )</b> - initialize the L64862 I/O MMU DMA data structures (SPARC)<br><p></blockquote><h4>DESCRIPTION</h4><blockquote><p>This library contains the architecture-specific routine <b><i><a href="./mmuL64862Lib.html#mmuL64862DmaInit">mmuL64862DmaInit</a></i>( )</b>,needed to set up the I/O mapping for S-Bus DMA devices using the LSI LogicL64862 architecture.<p></blockquote><h4>INCLUDE FILES</h4><blockquote><p><b>arch/sparc/l64862.h</b><p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./mmuL64862Lib.html#top">mmuL64862Lib</a></b>, <b><a href="./cacheLib.html#top">cacheLib</a></b>, <b><a href="./vmLib.html#top">vmLib</a></b><hr><a name="mmuL64862DmaInit"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>mmuL64862DmaInit</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>mmuL64862DmaInit</i>( )</strong> - initialize the L64862 I/O MMU DMA data structures (SPARC)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS mmuL64862DmaInit ( void * vrtBase, /* First valid DMA virtual address */ void * vrtTop, /* Last valid DMA virtual address */ UINT range /* range covered by I/O Page Table */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine initializes the I/O MMU in the LSI Logic L64862 MBus to SBusInterface Chip (MS) for S-Bus DMA with the TI TMS390 SuperSPARC.It assumes <b><a href="./cacheLib.html#top">cacheLib</a></b> and <b><a href="./vmLib.html#top">vmLib</a></b> have been initialized and that theTI TMS390 Processor MMU is enabled.<p>It initializes the I/O MMU to map all valid virtual addresses >= vrtBaseand <= vrtTop. It is usually called as follows:<pre>(void)mmuL64862DmaInit ((void *) LOCAL_MEM_LOCAL_ADRS, (void *) (LOCAL_MEM_LOCAL_ADRS + LOCAL_MEM_SIZE - 1), IOMMU_IOCR_RANGE);</pre></blockquote><h4>RETURNS</h4><blockquote><p>OK, or ERROR if the request cannot be satisfied.</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./mmuL64862Lib.html#top">mmuL64862Lib</a></b></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -