3.2.83. c15, L2 tag array operations

The purpose of the L2 tag array operations is to:

The L2 tag array operation is accessible in secure privileged modes only. You can determine the value of N in Figure 3.86 and Figure 3.87 from Table 3.163.

Figure 3.86 shows the bit arrangement of the L2 tag array read operation.

Figure 3.86. L2 tag array read operation format


Figure 3.87 shows the bit arrangement of the L2 tag array write operation.

Figure 3.87. L2 tag array write operation format


To write one entry to the L2 tag array, for example:

LDR R0, =0x000020D1;            
MCR p15, 0, R0, c15, c8, 0;     Move R0 to L2 Data 0 Register
LDR R1, =0x400000C0;            
MCR p15, 0, R1, c15, c8, 2;     Write L2 Data 0 Register to L2 tag RAM

To read one entry from the L2 tag array, for example:

LDR R1, =0x400000C0;            
MCR p15, 0, R1, c15, c9, 2;     Read L2 tag RAM into L2 Data 0 Register
MRC p15, 0, R2, c15, c8, 0;     Move L2 Data 0 Register to R2
Copyright © 2006-2009 ARM Limited. All rights reserved.ARM DDI 0344I
Non-Confidential