VxWorks API Reference : OS Libraries

cacheAuLib

NAME

cacheAuLib - Alchemy Au cache management library

ROUTINES

cacheAuLibInit( ) - initialize the Au cache library

DESCRIPTION

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.

INCLUDE FILES

cacheLib.h

SEE ALSO

cacheLib


OS Libraries : Routines

cacheAuLibInit( )

NAME

cacheAuLibInit( ) - initialize the Au cache library

SYNOPSIS

STATUS cacheAuLibInit
    (
    CACHE_MODE instMode,       /* instruction cache mode */
    CACHE_MODE dataMode,       /* data cache mode */
    UINT32     iCacheSize,
    UINT32     iCacheLineSize,
    UINT32     dCacheSize,
    UINT32     dCacheLineSize
    )

DESCRIPTION

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( ).

RETURNS

OK.

SEE ALSO

cacheAuLib