VxWorks API Reference : OS Libraries
cacheAuLib - Alchemy Au cache management library
cacheAuLibInit( ) - initialize the Au cache library
This library contains architecture-specific cache library functions for the Alchemy Au architecture. The Au 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
cacheAuLibInit( ) - initialize the Au cache library
STATUS cacheAuLibInit ( 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 Au cache library. The board support package can select this cache library by assigning the function pointer sysCacheLibInit to cacheAuLibInit( ).
OK.