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.

DminLine, bits [19:16]<br />

Bit [15] RAO.<br />

Bits [14:4] RAZ.<br />

IminLine, bits [3:0]<br />

Accessing the CTR<br />

Values greater than 0b1001 are reserved.<br />

Protected Memory System <strong>Architecture</strong> (PMSA)<br />

Log2 of the number of words in the smallest cache line of all the data caches <strong>and</strong> unified<br />

caches that are controlled by the processor.<br />

Log2 of the number of words in the smallest cache line of all the instruction caches that are<br />

controlled by the processor.<br />

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

set to 1. For example<br />

MRC p15,0,,c0,c0,1 ; Read CP15 Cache Type Register<br />

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

The TCM Type Register, TCMTR, provides information about the implementation of the TCM.<br />

The TCMTR is:<br />

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

accessible only in privileged modes.<br />

From <strong>ARM</strong>v7:the<br />

TCMTR must be implemented<br />

when the <strong>ARM</strong>v7 format is used, the meaning of register bits [28:0] is IMPLEMENTATION DEFINED<br />

the <strong>ARM</strong>v6 format of the TCM Type Register remains a valid usage model<br />

if no TCMs are implemented the <strong>ARM</strong>v6 format must be used to indicate zero-sized TCMs.<br />

The <strong>ARM</strong>v7 format of the TCMTR is:<br />

31 29 28 0<br />

1 0 0 IMPLEMENTATION DEFINED<br />

Bits [31:29] Set to 0b100 for the <strong>ARM</strong>v7 register format. Set to 0b000 for the format used in <strong>ARM</strong>v6<br />

<strong>and</strong> earlier.<br />

Bits [28:0] IMPLEMENTATION DEFINED in the <strong>ARM</strong>v7 register format.<br />

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

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

Saved successfully!

Ooh no, something went wrong!