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