Carbon


FlushCodeCacheRange

Header: OSUtils.h Carbon status: Unsupported

Flushes a portion of the instruction cache.

OSErr FlushCodeCacheRange (
    void *address, 
    UInt32 count
);
Parameter descriptions
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 Carbon.

CARBON NOTES

68K-specific.


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