⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cachesh7040lib.html

📁 Vxworks API操作系统和驱动程序设计API。压缩的HTML文件
💻 HTML
字号:
<html><head><!-- /vobs/wpwr/docs/vxworks/ref/cacheSh7040Lib.html - generated by refgen from ../sh/cacheSh7040Lib.c --> <title> cacheSh7040Lib </title></head><body bgcolor="#FFFFFF"> <hr><a name="top"></a><p align=right><a href="libIndex.htm"><i>VxWorks API Reference :  OS Libraries</i></a></p></blockquote><h1>cacheSh7040Lib</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>cacheSh7040Lib</strong> - Hitachi SH7040 cache management library </p></blockquote><h4>ROUTINES</h4><blockquote><p><p><b><a href="./cacheSh7040Lib.html#cacheSh7040LibInit">cacheSh7040LibInit</a>(&nbsp;)</b>  -  initialize the SH7040 cache library<br><p></blockquote><h4>DESCRIPTION</h4><blockquote><p>This library contains architecture-specific cache library functions forthe Hitachi SH7040 architecture. This architecture has a 1-Kbyte instructioncache.<p>For general information about caching, see the manual entry for <b><a href="./cacheLib.html#top">cacheLib</a></b>.<p></blockquote><h4>INCLUDE FILES</h4><blockquote><p><b>cacheLib.h</b><p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./cacheLib.html#top">cacheLib</a></b><p><hr><a name="cacheSh7040LibInit"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries :  Routines</i></a></p></blockquote><h1>cacheSh7040LibInit(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>cacheSh7040LibInit(&nbsp;)</strong> - initialize the SH7040 cache library</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS cacheSh7040LibInit    (    CACHE_MODE instMode,      /* instruction cache mode */    CACHE_MODE dataMode       /* data cache mode (ignored) */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine initializes the cache library for the Hitachi SH7040 processors.It initializes the function pointers and configures the caches to thespecified cache modes.  Modes should be set before caching is enabled.If two complementary flags are set (enable/disable), no action is takenfor any of the input flags.<p>Next caching modes are available for the SH7040 processors:<p><table><tr valign=top><td align=left></td><td align=left> SH7040:</td><td align=left> <b>CACHE_WRITETHROUGH</b> </td><td align=left> (cache for instruction)</tr><tr valign=top><td align=left></td><td align=left>        </td><td align=left> <b>CACHE_SH7040_DRAM</b>  </td><td align=left> (enable caching for DRAM space)</tr><tr valign=top><td align=left></td><td align=left>        </td><td align=left> <b>CACHE_SH7040_CS3</b>   </td><td align=left> (enable caching for CS3 space)</tr><tr valign=top><td align=left></td><td align=left>        </td><td align=left> <b>CACHE_SH7040_CS2</b>   </td><td align=left> (enable caching for CS2 space)</tr><tr valign=top><td align=left></td><td align=left>        </td><td align=left> <b>CACHE_SH7040_CS1</b>   </td><td align=left> (enable caching for CS1 space)</tr><tr valign=top><td align=left></td><td align=left>        </td><td align=left> <b>CACHE_SH7040_CS0</b>   </td><td align=left> (enable caching for CS0 space)</tr><tr valign=top><td align=left></tr></tr></table></blockquote><h4>RETURNS</h4><blockquote><p>OK, or ERROR if the specified caching modes were invalid.</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./cacheSh7040Lib.html#top">cacheSh7040Lib</a></b></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -