VxWorks API Reference : OS Libraries

cacheR10kLib

NAME

cacheR10kLib - MIPS R10000 cache management library

ROUTINES

cacheR10kLibInit( ) - initialize the R10000 cache library

DESCRIPTION

This library contains architecture-specific cache library functions for the MIPS R10000 architecture. The R10000 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.

INCLUDE FILES

cacheLib.h

SEE ALSO

cacheLib


OS Libraries : Routines

cacheR10kLibInit( )

NAME

cacheR10kLibInit( ) - initialize the R10000 cache library

SYNOPSIS

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

DESCRIPTION

This routine initializes the function pointers for the R10000 cache library. The board support package can select this cache library by assigning the function pointer sysCacheLibInit to cacheR10kLibInit( ).

RETURNS

OK.

SEE ALSO

cacheR10kLib