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.

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

B4.6.29 CP15 c9, Cache <strong>and</strong> TCM lockdown registers <strong>and</strong> performance monitors<br />

Some CP15 c9 register encodings are reserved for IMPLEMENTATION DEFINED memory system functions, in<br />

particular:<br />

cache control, including lockdown<br />

TCM control, including lockdown<br />

branch predictor control.<br />

Additional CP15 c9 encodings are reserved for performance monitors. These encodings fall into two groups:<br />

the optional performance monitors described in Chapter C9 Performance Monitors<br />

additional IMPLEMENTATION DEFINED performance monitors.<br />

The reserved encodings permit implementations that are compatible with previous versions of the <strong>ARM</strong><br />

architecture, in particular with the <strong>ARM</strong>v6 requirements. Figure B4-11 shows the permitted CP15 c9<br />

register encodings.<br />

CRn opc1 CRm opc2<br />

c9 {0-7} {c0-c2} {0-7} ‡ Reserved for Branch Predictor, Cache <strong>and</strong> TCM operations<br />

{c5-c8} {0-7} ‡ Reserved for Branch Predictor, Cache <strong>and</strong> TCM operations<br />

{c12-c14} {0-7} Reserved for <strong>ARM</strong>-recommended Performance Monitors<br />

c15 {0-7} ‡ Reserved for IMPLEMENTATION DEFINED Performance Monitors<br />

Read-only Read/Write<br />

Write-only<br />

‡ Access depends on the operation<br />

Figure B4-11 Permitted CP15 c9 register encodings<br />

All CP15 c9 encodings not shown in Figure B4-11 are UNPREDICTABLE, see Unallocated CP15 encodings<br />

on page B4-27.<br />

In <strong>ARM</strong>v6, CP15 c9 provides cache lockdown functions. With the <strong>ARM</strong>v7 abstraction of the hierarchical<br />

memory model, for CP15 c9:<br />

All encodings with CRm = {c0-c2, c5-c8} are reserved for IMPLEMENTATION DEFINED cache, branch<br />

predictor <strong>and</strong> TCM operations.<br />

This reservation enables the implementation of a scheme that is backwards compatible with <strong>ARM</strong>v6.<br />

For details of the <strong>ARM</strong>v6 implementation see c9, Cache lockdown support on page AppxG-45.<br />

All encodings with CRm = {c12-c14} are reserved for the optional performance monitors that are<br />

defined in Chapter C9 Performance Monitors.<br />

All encodings with CRm = c15 are reserved for IMPLEMENTATION DEFINED performance monitoring<br />

features.<br />

B4.6.30 CP15 c10, Not used on a PMSA implementation<br />

CP15 c10 is not used on an <strong>ARM</strong>v7-R implementation, see Unallocated CP15 encodings on page B4-27.<br />

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