VxWorks API Reference : OS Libraries

cache4kcLib

NAME

cache4kcLib - MIPS 4kc cache management library

ROUTINES

cache4kcLibInit( ) - initialize the 4kc cache library

DESCRIPTION

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.

INCLUDE FILES

cacheLib.h

SEE ALSO

cacheLib


OS Libraries : Routines

cache4kcLibInit( )

NAME

cache4kcLibInit( ) - initialize the 4kc cache library

SYNOPSIS

STATUS cache4kcLibInit
    (
    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 4kc cache library. The board support package can select this cache library by assigning the function pointer sysCacheLibInit to cache4kcLibInit( ).

RETURNS

OK.

SEE ALSO

cache4kcLib