![]() |
FlushInstructionCache |
||||
Header: | OSUtils.h | Carbon status: | Unsupported | |
Flushes the current contents of the instruction cache.
void FlushInstructionCache ();
Because flushing this cache degrades performance of the CPU, you should call this routine only when absolutely necessary.
On processors with a copy-back data cache, FlushInstructionCache also flushes the data cache before it flushes the instruction cache, to ensure that any instructions subsequently copied to the instruction cache are not copied from stale RAM.
68K-specific. Use MakeDataExecutable on PowerPC machines.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)