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


SwapDataCache

You can use the SwapDataCache function to enable or disable the data cache.

FUNCTION SwapDataCache (cacheEnable: Boolean): Boolean;
cacheEnable

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

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


Previous Book Contents Book Index Next

© Apple Computer, Inc.
3 JUL 1996