System Control Coprocessor

CP15, c9 sets the location of the TCM base address. For more information see c9, BTCM Region Register on page 4-57and c9, ATCM Region Register on page 4-58.

c6, MPU Region Base Address Registers

The MPU Region Base Address Registers describe the base address of the region specified by the Memory Region Number Register. The region base address must always align to the region size.

The MPU Region Base Address Registers are:

32-bit read/write registers

accessible in Privileged mode only.

Figure 4-34shows the arrangement of bits in the registers.

31

5

4

0

Base address

Reserved

Figure 4-34 MPU Region Base Address Registers format

Table 4-31shows how the bit values correspond with the MPU Region Base Address Register functions.

Table 4-31 MPU Region Base Address Registers bit functions

Bits

Field

Function

 

 

 

[31:5]

Base address

Physical base address. Defines the base address of a region.

 

 

 

[4:0]

Reserved

SBZ

 

 

 

To access an MPU Region Base Address Register, read or write CP15 with:

MRC p15, 0, <Rd>, c6, c1, 0 ; Read MPU Region Base Address Register MCR p15, 0, <Rd>, c6, c1, 0 ; Write MPU Region Base Address Register

c6, MPU Region Size and Enable Registers

The MPU Region Size and Enable Registers:

specify the size of the region specified by the Memory Region Number Register

identify the address ranges that are used for a particular region

enable or disable the region, and its sub-regions, specified by the Memory Region Number Register.

The MPU Region Size and Enable Registers are:

32-bit read/write registers

accessible in Privileged mode only.

Figure 4-35 on page 4-51shows the arrangement of bits in the registers.

ARM DDI 0363E

Copyright © 2009 ARM Limited. All rights reserved.

4-50

ID013010

Non-Confidential, Unrestricted Access

 

Page 134
Image 134
ARM r1p3, R4F manual C6, MPU Region Base Address Registers, C6, MPU Region Size and Enable Registers