You can perform various actions on the cache using the pop-up menu in the Cache view. Alternatively, you can use the Cache view toolbar that includes the same commands as the Cache view pop-up menu. The following table lists the Cache view pop-up menu commands and their description.
| Command | Description |
|---|---|
| Write | Commits changes in the Cache view to the cache register of the target hardware, if supported by the target hardware. |
| Refresh | Reads data from the target hardware and updates the cache display. |
| Invalidate | Invalidates the entire content of the cache. |
| Flush | Flushes the entire content of the cache. Flushing the cache involves committing uncommitted data to the next level of the memory hierarchy, and then invalidating the data within the cache. |
| Lock | Locks the cache. Locking cache prevents the cache from fetching the new lines or discarding the current valid lines. |
| Synchronize | Synchronize cache data with memory data. |
| Enable | Turns on the cache. |
| Disable LRU | Removes the Least Recently Used attribute from the existing display for each cache line. |
| Inverse LRU | Displays the inverse of the Least Recently Used attribute for each cache line. |
| Copy Cache | Copies the cache contents to the system clipboard. |
| Export Cache | Exports the cache contents to a file. |
| Search | Finds an occurrence of a string in the cache lines. |
| Search Again | Finds the next occurrence of a string in the cache lines. |
| Preserves sorting | Preserves sorting of the cache when the cache data is updated and the cache is refreshing. This option is not available by default. If available, every operation that triggers cache refresh (like step, run to breakpoint) will have to wait for cache data loading and sorting. |
| View Memory | Views the corresponding memory for the selected cache lines. |
| Lock Line | Locks the selected cache lines. |
| Invalidate Line | Invalidates the selected cache lines. |
| Flush Line | Flushes the entire contents of the selected cache lines. |
| Synchronize Line | Synchronize selected cache data with memory data. |
| Lock Way | Locks the cache ways specified with the Lock Ways menu command. Locking a cache way means that the data contained in that way must not change. If the cache needs to discard a line, it will not discard the locked lines, such as the lines explicitly locked, or the lines belonging to locked ways. |
| Unlock Way | Unlocks the cache ways specified with the Lock Ways command. |
| Lock Ways | Specifies the cache ways on which the Lock Way and Unlock Way commands operate. |