Carbon


FlushCodeCacheRange

Header: OSUtils.h Carbon status: Unsupported

Flushes a portion of the instruction cache.

OSErr FlushCodeCacheRange (
    void *address, 
    UInt32 count
);
address

The starting address of the range to flush.

count

The size, in bytes, of the range to flush.

function result

A result code. A result code. See “Result Codes”.

DISCUSSION

FlushCodeCacheRange is an optimized version of FlushCodeCache and is intended for use on processors such as the MC68040 that support flushing only a portion of the instruction cache. On processors that do not have this capability, FlushCodeCacheRange simply flushes the entire instruction cache.

The FlushCodeCacheRange function might flush a larger portion of the instruction cache than requested if it would be inefficient to satisfy the request exactly.

AVAILABILITY

Not supported in Carbon. Not available in CarbonLib, but available when InterfaceLib 8.5 or later is installed. Exported by InterfaceLib 8.5 and later.

CARBON NOTES

68K-specific.


© 2000 Apple Computer, Inc. — (Last Updated 4/6/2000)