VxWorks API Reference : OS Libraries
cacheTx49Lib - Toshiba Tx49 cache management library
cacheTx49LibInit( ) - initialize the Tx49 cache library
This library contains architecture-specific cache library functions for the Toshiba Tx49 architecture. The Tx49 utilizes a variable-size instruction and data cache that operates in write-back mode. The cache is four-way set associative and the library allows the cache line size to vary.
For general information about caching, see the manual entry for cacheLib.
cacheLib.h
cacheTx49LibInit( ) - initialize the Tx49 cache library
STATUS cacheTx49LibInit ( CACHE_MODE instMode, /* instruction cache mode */ CACHE_MODE dataMode, /* data cache mode */ UINT32 iCacheSize, /* instruction cache size */ UINT32 iCacheLineSize, /* instruction cache line size */ UINT32 dCacheSize, /* data cache size */ UINT32 dCacheLineSize /* data cache line size */ )
This routine initializes the function pointers for the Tx49 cache library. The board support package can select this cache library by assigning the function pointer sysCacheLibInit to cacheTx49LibInit( ).
OK.