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.

H.7.12 c9, TCM support<br />

<strong>ARM</strong>v4 <strong>and</strong> <strong>ARM</strong>v5 Differences<br />

TCM register support is optional when CP15 <strong>and</strong> TCM are supported in <strong>ARM</strong>v4 <strong>and</strong> <strong>ARM</strong>v5. For details<br />

see c9, TCM support on page AppxG-46.<br />

H.7.13 c10, VMSA TLB lockdown support<br />

TLB lockdown is an optional feature that enables the results of specified translation table walks to load into<br />

the TLB in a way that prevents them being overwritten by the results of subsequent translation table walks.<br />

Translation table walks can take a long time because they involve potentially slow main memory accesses.<br />

In real-time interrupt h<strong>and</strong>lers, translation table walks caused by the TLB that do not contain translations<br />

for the h<strong>and</strong>ler or the data it accesses can increase interrupt latency significantly.<br />

Two basic lockdown models are supported:<br />

a TLB lock by entry model<br />

a translate <strong>and</strong> lock model introduced as an alternative model in <strong>ARM</strong>v5TE.<br />

In an <strong>ARM</strong>v6 implementation that includes the Security Extensions, c10 TLB Lockdown registers are<br />

Configurable access registers, with access controlled by the NSACR. For more information, see:<br />

Configurable access CP15 registers on page B3-74 for general information<br />

c1, Non-Secure Access Control Register (NSACR) on page B3-110 <strong>and</strong> c1, VMSA Security Extensions<br />

support on page AppxG-35 for details of the NSACR.<br />

From <strong>ARM</strong>v7, TLB lockdown is IMPLEMENTATION DEFINED with no recommended formats or mechanisms<br />

on how it is achieved other than reserved CP15 register space. See TLB lockdown on page B3-56 <strong>and</strong> CP15<br />

c10, Memory remapping <strong>and</strong> TLB control registers on page B3-142.<br />

Table H-25 shows the TLB operations used to support the different mechanisms.<br />

Table H-25 TLB lockdown register support<br />

Register or operation Mechanism CRn opc1 CRm opc2<br />

Data or unified TLB Lockdown Register, DTLBLR By entry c10 0 c0 a 0<br />

Instruction TLB Lockdown Register, ITLBLR By entry c10 0 c0 a 1<br />

Lock instruction TLB Translate <strong>and</strong> lock c10 0 c4 b 0<br />

Unlock instruction TLB Translate <strong>and</strong> lock c10 0 c4 b 1<br />

Lock data TLB Translate <strong>and</strong> lock c10 0 c8 b 0<br />

Unlock data TLB Translate <strong>and</strong> lock c10 0 c8 b 1<br />

a. Read/write register that can be accessed using MCR <strong>and</strong> MRC instructions.<br />

b. Write-only operation that is accessed only using the MCR instruction.<br />

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

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

Saved successfully!

Ooh no, something went wrong!