Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Memory /
Chapter 4 - Memory Management Utilities / Memory Management Utilities Reference
Routines


Manipulating the Processor Caches

The system software provides routines that allow you to enable, disable, and flush the processor caches. Before you call any of the routines described in this section, be sure to check that the trap _HWPriv is implemented. The only exception is the FlushCodeCache procedure, which is available whenever the processor has a cache that can be flushed.

WARNING
If you call these routines and _HWPriv isn't implemented, your application will crash.

Subtopics
SwapInstructionCache
FlushInstructionCache
SwapDataCache
FlushDataCache
FlushCodeCache
FlushCodeCacheRange

Previous Book Contents Book Index Next

© Apple Computer, Inc.
3 JUL 1996