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.

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

If no TCMs are implemented, the TCMTR must be implemented with this <strong>ARM</strong>v6 format:<br />

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

0 0 0 UNKNOWN 0 0 0 UNKNOWN 0 0 0<br />

For details of the <strong>ARM</strong>v6 optional implementation of the TCM Type Register see c0, TCM Type Register<br />

(TCMTR) on page AppxG-33.<br />

Accessing the TCMTR<br />

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

set to 2. For example:<br />

MRC p15,0,,c0,c0,2 ; Read CP15 TCM Type Register<br />

B4.6.9 c0, MPU Type Register (MPUIR)<br />

The MPU Type Register, MPUIR, identifies the features of the MPU implementation. In particular it<br />

identifies:<br />

whether the MPU implements:<br />

— a Unified address map, also referred to as a von Neumann architecture<br />

— separate Instruction <strong>and</strong> Data address maps, also referred to as a Harvard architecture.<br />

the number of memory regions implemented by the MPU.<br />

The MPUIR is:<br />

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

accessible only in privileged modes<br />

implemented only when the PMSA is implemented.<br />

The format of the MPUIR is:<br />

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

UNKNOWN IRegion DRegion UNKNOWN nU<br />

Bits [31:24] UNKNOWN.<br />

IRegion, bits [23:16]<br />

DRegion, bits [15:8]<br />

Bits [7:1] UNKNOWN.<br />

Specifies the number of Instruction regions implemented by the MPU.<br />

If the MPU implements a Unified memory map this field is UNK/SBZ.<br />

Specifies the number of Data or Unified regions implemented by the MPU.<br />

If this field is zero, no MPU is implemented, <strong>and</strong> the default memory map is in use.<br />

B4-36 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!