VxWorks Reference Manual : Libraries

cacheR3kALib

NAME

cacheR3kALib - MIPS R3000 cache management assembly routines

ROUTINES

cacheR3kDsize( ) - return the size of the R3000 data cache
cacheR3kIsize( ) - return the size of the R3000 instruction cache

DESCRIPTION

This library contains MIPS R3000 cache set-up and invalidation routines written in assembly language. 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 cacheR3kLib.

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

INCLUDE FILES

cacheLib.h

SEE ALSO

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


Libraries : Routines

cacheR3kDsize( )

NAME

cacheR3kDsize( ) - return the size of the R3000 data cache

SYNOPSIS

ULONG cacheR3kDsize (void)

DESCRIPTION

This routine returns the size of the R3000 data cache. Generally, this value should be placed into the value cacheDCacheSize for use by other routines.

RETURNS

The size of the data cache in bytes.

SEE ALSO

cacheR3kALib


Libraries : Routines

cacheR3kIsize( )

NAME

cacheR3kIsize( ) - return the size of the R3000 instruction cache

SYNOPSIS

ULONG cacheR3kIsize (void)

DESCRIPTION

This routine returns the size of the R3000 instruction cache. Generally, this value should be placed into the value cacheDCacheSize for use by other routines.

RETURNS

The size of the instruction cache in bytes.

SEE ALSO

cacheR3kALib