Important: The information in this document is obsolete and should not be used for new development.
FlushCodeCache
You can use theFlushCodeCache
procedure to flush the instruction cache.
PROCEDURE FlushCodeCache;DESCRIPTION
TheFlushCodeCache
procedure flushes the current contents of the instruction cache. Because flushing this cache degrades performance of the CPU, you should call this routine only when absolutely necessary. See "Processor Caches" beginning on page 4-8 for details on when to call this procedure.SPECIAL CONSIDERATIONS
On processors with a copy-back data cache,FlushCodeCache
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.ASSEMBLY-LANGUAGE INFORMATION
The trap macro forFlushCodeCache
is_CacheFlush
.