VxWorks Reference Manual : Libraries

cacheR3kLib

NAME

cacheR3kLib - MIPS R3000 cache management library

ROUTINES

cacheR3kLibInit( ) - initialize the R3000 cache library

DESCRIPTION

This library contains architecture-specific cache library functions for the MIPS R3000 architecture. The R3000 utilizes a variable-size instruction and data cache that operates in write-through mode. Cache line size also varies. Cache tags may be invalidated on a per-word basis by execution of a byte write to a specified word while the cache is isolated. See also the manual entry for cacheR3kALib.

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

INCLUDE FILES

cacheLib.h

SEE ALSO

cacheR3kLib, cacheR3kALib, cacheLib, Gerry Kane: MIPS R3000 RISC Architecture


Libraries : Routines

cacheR3kLibInit( )

NAME

cacheR3kLibInit( ) - initialize the R3000 cache library

SYNOPSIS

STATUS cacheR3kLibInit
    (
    CACHE_MODE instMode, /* instruction cache mode */
    CACHE_MODE dataMode  /* data cache mode */
    )

DESCRIPTION

This routine initializes the function pointers for the R3000 cache library. The board support package can select this cache library by calling this routine.

RETURNS

OK.

SEE ALSO

cacheR3kLib