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

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

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

<strong>ARM</strong>v6 Differences<br />

The TLB Type ID Register <strong>and</strong> the Multiprocessor Affinity Register are as defined for <strong>ARM</strong>v7, see:<br />

c0, TLB Type ID Register (TLBTR)<br />

c0, Multiprocessor Affinity Register (MPIDR) on page B3-87.<br />

The MPU Type Register is as defined for <strong>ARM</strong>v7, see c0, MPU Type Register (MPUIR) on page B4-36. In<br />

an <strong>ARM</strong>v6 PMSA implementation, if the MPU is not implemented use of the default memory map is<br />

optional.<br />

c0, TCM Type Register (TCMTR)<br />

The TCMTR must be implemented in <strong>ARM</strong>v6 <strong>and</strong> <strong>ARM</strong>v7. In <strong>ARM</strong>v7, the register can have a different<br />

format from that given here, see c0, TCM Type Register (TCMTR) on page B3-85.<br />

In <strong>ARM</strong>v7, TCM support is IMPLEMENTATION DEFINED. For <strong>ARM</strong>v6, see c9, TCM support on<br />

page AppxG-46 <strong>and</strong> c9, TCM Non-Secure Access Control Registers, DTCM-NSACR <strong>and</strong> ITCM-NSACR on<br />

page AppxG-51 where the Security Extensions are supported.<br />

31 29 28 19 18 16 15 3 2 0<br />

0 0 0 Reserved DTCM Reserved ITCM<br />

Bits [31:29] Set to 0b000 before <strong>ARM</strong>v7.<br />

Bits [28:19,15:3]<br />

Reserved.<br />

DTCM, Bits [18:16] Indicate the number of Data TCMs implemented. This value lies in the range 0 to 4,<br />

0b000 to 0b100. All other values are reserved.<br />

ITCM, Bits [2:0] Indicate the number of Instruction or Unified TCMs implemented. This value lies<br />

in the range 0 to 4, 0b000 to 0b100. All other values are reserved.<br />

c0, TLB Type ID Register (TLBTR)<br />

Instruction TCMs are accessible to both instruction <strong>and</strong> data sides.<br />

In an <strong>ARM</strong>v6 VMSA implementation the TLB Type Register, TLBTR, is a read-only register that defines<br />

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

the number of lockable TLB entries. The <strong>ARM</strong>v7-A description of the register describes the general features<br />

of the register <strong>and</strong> how to access it. See c0, TLB Type Register (TLBTR) on page B3-86. However, the<br />

register format is different in <strong>ARM</strong>v6. The <strong>ARM</strong>v6 format of the TLBTR is:<br />

31 24 23 16 15 8 7 1 0<br />

Reserved I_nlock D_nlock Reserved nU<br />

Bits [31:24, 7:1] Reserved, UNK.<br />

I_nlock, bits [23:16] Number of lockable entries in the instruction TLB. The value of this field gives the<br />

number of lockable entries, between 0b00000000 for no lockable entries, <strong>and</strong><br />

0b11111111 for 255 lockable entries.<br />

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

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

Saved successfully!

Ooh no, something went wrong!