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.

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

B3.12.10 c0, TLB Type Register (TLBTR)<br />

The TLB Type Register, TLBTR, provides information about the TLB implementation. The register must<br />

define whether the implementation provides separate instruction <strong>and</strong> data TLBs, or a unified TLB.<br />

Normally, the IMPLEMENTATION DEFINED information in this register includes the number of lockable<br />

entries in the TLB.<br />

The TLBTR is:<br />

a 32-bit read-only register<br />

accessible only in privileged modes<br />

implemented only when the VMSA is implemented<br />

when the Security Extensions are implemented, a Common register.<br />

The format of the TLBTR is:<br />

31 1 0<br />

Bits [31:1] IMPLEMENTATION DEFINED.<br />

nU, bit [0] Not Unified TLB. Indicates whether the implementation has a unified TLB:<br />

nU == 0 Unified TLB.<br />

nU == 1 Separate Instruction <strong>and</strong> Data TLBs.<br />

Note<br />

From <strong>ARM</strong>v7, the TLB lockdown mechanism is IMPLEMENTATION DEFINED, <strong>and</strong> therefore the details of<br />

bits [31:1] of the TLB Type Register are IMPLEMENTATION DEFINED.<br />

Accessing the TLBTR<br />

To access the TLBTR you read the CP15 registers with set to 0, set to c0, set to c0, <strong>and</strong><br />

set to 3. For example:<br />

MRC p15,0,,c0,c0,3 ; Read CP15 TLB Type Register<br />

IMPLEMENTATION DEFINED nU<br />

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

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

Saved successfully!

Ooh no, something went wrong!