VxWorks API Reference : OS Libraries

cacheTx49Lib

NAME

cacheTx49Lib - Toshiba Tx49 cache management library

ROUTINES

cacheTx49LibInit( ) - initialize the Tx49 cache library

DESCRIPTION

This library contains architecture-specific cache library functions for the Toshiba Tx49 architecture. The Tx49 utilizes a variable-size instruction and data cache that operates in write-back mode. The cache is four-way set associative and the library allows the cache line size to vary.

For general information about caching, see the manual entry for cacheLib.

INCLUDE FILES

cacheLib.h

SEE ALSO

cacheLib


OS Libraries : Routines

cacheTx49LibInit( )

NAME

cacheTx49LibInit( ) - initialize the Tx49 cache library

SYNOPSIS

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

DESCRIPTION

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

RETURNS

OK.

SEE ALSO

cacheTx49Lib