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.

MCR p15, 0, , c8, c6, 0 ; Invalidate Data-TLB<br />

MCR p15, 0, , c8, c6, 1 ; Invalidate Data-TLB entry (MVA)<br />

MCR p15, 0, , c8, c6, 2 ; Invalidate Data-TLB (ASID)<br />

MCR p15, 0, , c8, c7, 0 ; Invalidate Inst-TLB and Data-TLB<br />

MCR p15, 0, , c8, c7, 1 ; Invalidate Inst-TLB and Data-TLB entry (MVA)<br />

MCR p15, 0, , c8, c7, 2 ; Invalidate Inst-TLB and Data-TLB (ASID)<br />

All other <strong>ARM</strong>v7-A TLB maintenance encodings are Unpredictable.<br />

System Control Coprocessor<br />

Functions that update the contents of the TLB occur in program order. Therefore, an explicit<br />

data access before the TLB function uses the old TLB contents, and an explicit data access after<br />

the TLB function uses the new TLB contents. For instruction accesses, TLB updates are<br />

guaranteed to have taken effect before the next pipeline flush. This includes flush prefetch<br />

buffer operations and exception return sequences.<br />

Invalidate TLB unlocked entries<br />

Invalidate TLB unlocked entries invalidates all the unlocked entries in the TLB.<br />

Invalidate TLB Entry by MVA<br />

For an area of memory to be remapped, you can use the Invalidate TLB Entry by MVA to<br />

invalidate any TLB entry, locked or unlocked, by either:<br />

• matching the MVA and ASID<br />

• matching the MVA for a globally marked TLB entry.<br />

The operation uses both the MVA and ASID as arguments. Figure 3-36 shows the format.<br />

Invalidate TLB Entry on ASID Match<br />

Figure 3-36 TLB Operations MVA and ASID format<br />

This operation invalidates all TLB entries that match the provided ASID value. This function<br />

invalidates locked entries but does not invalidate entries marked as global.<br />

The Invalidate TLB Entry on ASID Match function requires an ASID as an argument.<br />

Figure 3-37 shows the format.<br />

3.2.42 c9, Performance Monitor Control Register<br />

31 12 11 8 7<br />

0<br />

Modified virtual address<br />

Reserved ASID<br />

31 8 7<br />

0<br />

Reserved<br />

Figure 3-37 TLB Operations ASID format<br />

The purpose of the Performance MoNitor Control (PMNC) Register is to control the operation<br />

of the four Performance Monitor Count Registers, and the Cycle Counter Register:<br />

The PMNC Register is:<br />

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

• accessible as determined by c9, User Enable Register on page 3-89.<br />

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

ID060510 Non-Confidential<br />

ASID

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

Saved successfully!

Ooh no, something went wrong!