09.12.2012 Views

Cortex-A8 Technical Reference Manual - ARM Information Center

Cortex-A8 Technical Reference Manual - ARM Information Center

Cortex-A8 Technical Reference Manual - ARM Information Center

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

ORR , , #0x0020_0000; Set parity/ECC enable<br />

MCR p15, 1, , c9, c0, 2 ; Write L2 Cache Auxiliary Control Register<br />

MRC p15, 1, , c9, c0, 2 ; Read L2 Cache Auxiliary Control Register<br />

TST , #0x0020_0000 ; Test for parity/ECC enable<br />

BEQ no_parity_ram_setup<br />

parity_ram_setup:<br />

;<br />

B done_parity_RAM_setup<br />

no_parity_ram_setup:<br />

;<br />

done_parity_RAM_setup:<br />

;<br />

3.2.56 c10, TLB Lockdown Registers<br />

System Control Coprocessor<br />

The purpose of the TLB Lockdown Registers is to control the fully-associative TLB entries to<br />

allocate on the next table walk. The TLB is normally allocated on a rotating basis. The oldest<br />

entry is always the next allocated.<br />

You can configure the TLB Lockdown Registers to exclude a range of entries from the<br />

round-robin allocation scheme. You must use the TLB Lockdown Registers with the TLB<br />

preload operation. See c10, TLB preload operation on page 3-99 for more information.<br />

The TLB Lockdown Registers are:<br />

• read/write registers common to Secure and Nonsecure states<br />

• accessible in privileged modes only.<br />

Figure 3-50 shows the bit arrangement of the Data and Instruction TLB Lockdown Registers.<br />

Figure 3-50 TLB Lockdown Register format<br />

Table 3-110 shows how the bit values correspond with the Data and Instruction TLB Lockdown<br />

Register functions.<br />

Bits Field Function<br />

31 27 26 22 21 1 0<br />

Base Victim Reserved P<br />

Table 3-110 TLB Lockdown Register bit functions<br />

[31:27] Base Defines the offset from TLB entry 0 for which entries 0 to base - 1 are locked assuming P equals 1<br />

during a hardware translation table walk.<br />

[26:22] Victim Specifies the entry where the next hardware translation table walk can place a TLB entry. The reset<br />

value is 0. Each hardware translation table walk increments the value of the Victim field.<br />

[21:1] - Reserved. UNP, SBZP.<br />

[0] P Determines if TLB entries allocated by subsequent translation table walks are not invalidated by the<br />

Invalidate TLB unlocked entries operation:<br />

0 = allocated TLB entries are invalidated, reset value<br />

1 = allocated TLB entries are not invalidated.<br />

<strong>ARM</strong> DDI 0344K Copyright © 2006-2010 <strong>ARM</strong> Limited. All rights reserved. 3-98<br />

ID060510 Non-Confidential

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!