System Control Coprocessor
ARM DDI 0301H
Copyright © 2004-2009 ARM Limited. All rights reserved.
3-73
ID012310
Non-Confidential, Unrestricted Access
The value of S is given by:
See
c0, Cache Type Register
on page 3-21 for details of instruction and data cache
size.
Note
If the data is stated to be Set and Index format, see Figure 3-40 on page 3-72, it
identifies the cache line that the operation applies to by specifying the cache Set
that it belongs to and what its Index is within the Set. The Set corresponds to the
number of the cache way, and the Index number corresponds to the line number
within a cache way.
MVA format
Figure 3-41 shows the MVA format for invalidate, clean, and prefetch operations.
Figure 3-41 c7 format for MVA
Table 3-69 lists how the bit values correspond with the Cache Operation functions
for MVA format operations.
Note
•
Invalidation and cleaning operations have no effect if they miss in the
cache.
•
If the corresponding entry is not in the TLB, these instructions can cause a
TLB miss exception or hardware page table walk, depending on the miss
handling mechanism.
•
For the cache control operations, the MVAs that are passed to the cache are
not translated by the FCSE extension.
VA format
Figure 3-42 shows the VA format for invalidate and clean operations. All VA
format operations use the MCRR instruction.
Figure 3-42 Format of c7 for VA
Associativity x line length in bytes
cache size
S = log
2
Modified virtual address
31
5 4
0
SBZ
Table 3-69 Functional bits of c7 for MVA
Bits
Field name
Function
[31:5]
MVA
Specifies address to invalidate, clean, or prefetch.
Holds the MVA of the cache line.
[4:0]
-
Ignored. This means that the lower 5 bits of MVA are ignored and these bits are not used for the
cache operations. Only the top bits are necessary to determine whether or not the cache line is
present in the cache. Even if the MVA is not aligned to the cache line, the cache operation is
performed by ignoring the lower 5 bits.
Virtual address
31
4
0
SBZ
5