VxWorks API Reference : OS Libraries
cache4kcLib - MIPS 4kc cache management library
cache4kcLibInit( ) - initialize the 4kc cache library
This library contains architecture-specific cache library functions for the MIPS 4kc architecture. The 4kc utilizes a variable-size instruction and data cache that operates in write-through mode. Cache line size also varies.
For general information about caching, see the manual entry for cacheLib.
cacheLib.h
cache4kcLibInit( ) - initialize the 4kc cache library
STATUS cache4kcLibInit ( CACHE_MODE instMode, /* instruction cache mode */ CACHE_MODE dataMode, /* data cache mode */ UINT32 iCacheSize, UINT32 iCacheLineSize, UINT32 dCacheSize, UINT32 dCacheLineSize )
This routine initializes the function pointers for the 4kc cache library. The board support package can select this cache library by assigning the function pointer sysCacheLibInit to cache4kcLibInit( ).
OK.