VxWorks Reference Manual : Libraries
cacheSh7604Lib - Hitachi SH7604/SH7615 cache management library
cacheSh7604LibInit( ) - initialize the SH7604/SH7615 cache library
This library contains architecture-specific cache library functions for the Hitachi SH7604/SH7615 instruction and data mixed cache.
cacheLib.h
cacheSh7604LibInit( ) - initialize the SH7604/SH7615 cache library
STATUS cacheSh7604LibInit ( CACHE_MODE instMode, /* instruction cache mode (ignored) */ CACHE_MODE dataMode /* data cache mode */ )
This routine initializes the cache library for the Hitachi SH7604/SH7615 processor. It initializes the function pointers and configures the caches to the specified cache modes. Modes should be set before caching is enabled.
The following caching modes are available for the SH7604/SH7615 processor:
SH7604: CACHE_WRITETHROUGH (cache for instruction and data) CACHE_2WAY_MODE (2KB 2-way cache + 2KB RAM)
OK, or ERROR if the specified caching modes were invalid.