EasyManua.ls Logo

ARM Cortex-R4 - Invalidate and Clean Operations

Default Icon
436 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
System Control
ARM DDI 0363G Copyright © 2006-2011 ARM Limited. All rights reserved. 4-59
ID073015 Non-Confidential
Figure 4-37 Cache operations
In addition to the register c7 cache management functions in this processor, an Invalidate all
data caches operation is provided as a c15 operation. For convenience, that c15 operation is also
described in this section.
Note
Writing c7 with a combination of CRm and Opcode_2 not listed in Figure 4-37 results in
an Undefined Instruction exception.
In this processor, reading from c7 causes an Undefined Instruction exception.
All accesses to c7 can only be executed in a Privileged mode of operation, except for the
Flush Prefetch Buffer, Data Synchronization Barrier, and Data Memory Barrier
operations. These can be performed in User mode. Attempting to execute a Privileged
instruction in User mode results in an Undefined Instruction exception.
This processor does not contain an address-based branch predictor array.
Invalidate and clean operations
The terms that describe the invalidate, clean, and prefetch operations are defined in the ARM
Architecture Reference Manual.
You can perform invalidate and clean operations on:
single cache lines
entire caches.
Set and Way format
Figure 4-38 on page 4-60 shows the Set and Way bit assignments.
c7
SBZ
SBZ
MVA
SBZ
MVA
Way
MVA
Way
SBZ
SBZ
MVA
Way
Invalidate data cache line by set/way
Invalidate data cache line to Point-of-Coherency by MVA
Invalidate entire branch predictor array (NOP)
Wait For Interrupt (NOP)
Flush Prefetch buffer
Invalidate VA from Branch Predictor Array (NOP)
Invalidate All Instruction Caches
Invalidate Instruction Cache Line to Point-of-Unification by MVA
Clean data cache line to Point-of-Unification by MVA
Clean data cache line to Point-of-Coherency by MVA
Clean data cache line by set/way
Data Synchronization Barrier
Data Memory Barrier
Clean and Invalidate data cache line to Point-of-Unification by MVA
Clean and Invalidate data cache line by set/way
Opcode_2CRmCRn Opcode_1
SBZ
MVA
SBZ
Should Be Zero
MVA
Way
Using MVA
Using Set and Way
SBZ
Invalidate all Data Caches0c15
Write-only Accessible in User modeRead-only Read/write
4
c0
0
1
4
6
7
c5
1
2
c6
1
c10
2
4
5
1
c11
0
1
c14
2
c50

Table of Contents

Related product manuals