05.02.2013 Views

ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition

ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition

ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Invalidate TLB entries by MVA all ASID<br />

Virtual Memory System <strong>Architecture</strong> (VMSA)<br />

The Invalidate TLB entries by MVA all ASID operations invalidate all TLB entries that matches the MVA<br />

provided as an argument to the operation regardless of the ASID. The register format required is:<br />

31 12 11 0<br />

MVA SBZ<br />

Accessing the CP15 c8 TLB maintenance operations<br />

To perform one of the TLB maintenance operations you write the CP15 registers with == 0,<br />

==c8, <strong>and</strong> <strong>and</strong> set to the values shown in Table B3-35 on page B3-139. That is:<br />

MCR p15,0,,c8,,<br />

For example:<br />

MCR p15,0,,c8,c5,0 ; Invalidate all unlocked entries in Instruction TLB<br />

MCR p15,0,,c8,c6,2 ; Invalidate Data TLB entries on ASID match<br />

B3.12.35 CP15 c9, Cache <strong>and</strong> TCM lockdown registers <strong>and</strong> performance monitors<br />

Some CP15 c9 encodings are reserved for IMPLEMENTATION DEFINED memory system functions, in<br />

particular:<br />

cache control, including lockdown<br />

TCM control, including lockdown<br />

branch predictor control.<br />

Additional CP15 c9 encodings are reserved for performance monitors. These encodings fall into two groups:<br />

the optional performance monitors, described in Chapter C9 Performance Monitors<br />

additional IMPLEMENTATION DEFINED performance monitors.<br />

The reserved encodings permit implementations that are compatible with previous versions of the <strong>ARM</strong><br />

architecture, in particular with the <strong>ARM</strong>v6 requirements. Figure B3-21 shows the permitted CP15 c9<br />

register encodings.<br />

CRn opc1 CRm opc2<br />

c9 {0-7} {c0-c2} {0-7} ‡ Reserved for Branch Predictor, Cache <strong>and</strong> TCM operations<br />

{c5-c8} {0-7} ‡ Reserved for Branch Predictor, Cache <strong>and</strong> TCM operations<br />

{c12-c14} {0-7} Reserved for <strong>ARM</strong>-recommended Performance Monitors<br />

c15 {0-7} ‡ Reserved for IMPLEMENTATION DEFINED Performance Monitors<br />

Read-only Read/Write<br />

Write-only<br />

‡ Access depends on the operation<br />

Figure B3-21 Permitted CP15 c9 encodings<br />

<strong>ARM</strong> DDI 0406B Copyright © 1996-1998, 2000, 2004-2008 <strong>ARM</strong> Limited. All rights reserved. B3-141

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

Saved successfully!

Ooh no, something went wrong!