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


SwapInstructionCache

You can use the SwapInstructionCache function to enable or disable the
instruction cache.

FUNCTION SwapInstructionCache (cacheEnable: Boolean): Boolean;
cacheEnable

The desired state of the instruction cache.
DESCRIPTION
The SwapInstructionCache function enables or disables the instruction cache, depending on whether the cacheEnable parameter is set to TRUE or FALSE. On exit, SwapInstructionCache returns the previous state of the instruction cache.

ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector for SwapInstructionCache are
Trap macroSelector
_HWPriv$0000


Previous Book Contents Book Index Next

© Apple Computer, Inc.
3 JUL 1996