VxWorks Reference Manual : Libraries
cacheR3kALib - MIPS R3000 cache management assembly routines
cacheR3kDsize( ) - return the size of the R3000 data cache
cacheR3kIsize( ) - return the size of the R3000 instruction cache
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.
cacheLib.h
cacheR3kALib, cacheR3kLib, cacheLib, Gerry Kane: MIPS R3000 RISC Architecture
cacheR3kDsize( ) - return the size of the R3000 data cache
ULONG cacheR3kDsize (void)
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.
The size of the data cache in bytes.
cacheR3kIsize( ) - return the size of the R3000 instruction cache
ULONG cacheR3kIsize (void)
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.
The size of the instruction cache in bytes.