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>v4 <strong>and</strong> <strong>ARM</strong>v5 Differences<br />

access permission register support that provides AP7[1:0] to AP0[1:0] 2-bit permission fields, an AP<br />

bitfield for each region<br />

optional extended access permission register support for 4-bit AP fields<br />

region registers providing a base address, size field, <strong>and</strong> an enable bit for each region.<br />

For details of the PMSA support in CP15 see c2, c3, c5, <strong>and</strong> c6, PMSA support on page AppxH-43.<br />

The C <strong>and</strong> B bits are configured according to the type of memory that is to be accessed. For more<br />

information, see Memory type support on page AppxH-10. Table H-10 defines the st<strong>and</strong>ard AP bit behavior.<br />

Some implementations also include support for read-only access permission. Table H-11 defines the<br />

extended AP bit behavior.<br />

AP[3:0]<br />

AP[1:0]<br />

Privileged<br />

permissions<br />

Table H-10 PMSA access permissions in <strong>ARM</strong>v4 <strong>and</strong> <strong>ARM</strong>v5<br />

User<br />

permissions<br />

Description<br />

00 No access No access All accesses generate Permission faults<br />

01 Read/write No access Privileged access only<br />

10 Read/write Read-only Writes in User mode generate Permission faults<br />

11 Read/write Read/write Full access<br />

Privileged<br />

permissions<br />

Table H-11 PMSA extended access permissions in <strong>ARM</strong>v4 <strong>and</strong> <strong>ARM</strong>v5<br />

User<br />

permissions<br />

Description<br />

0000 No access No access All accesses generate a Permission fault<br />

0001 Read/write No access Privileged access only<br />

0010 Read/write Read-only Writes in User mode generate a Permission fault<br />

0011 Read/write Read/write Full access<br />

0100 UNPREDICTABLE UNPREDICTABLE -<br />

0101 Read-only No access Privileged read-only access<br />

0110 Read-only Read-only Read-only access<br />

0111 UNPREDICTABLE UNPREDICTABLE -<br />

1xxx UNPREDICTABLE UNPREDICTABLE -<br />

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

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

Saved successfully!

Ooh no, something went wrong!