Memory Protection Unit
31
Bits
Field
[31:24]
-
[23:16]
IREGION
[15:8]
DREGION
[7:0]
-
[0]
SEPARATE
9-4
Reset state
0x00000800
Figure 9-1 shows the bit assignments of the MPU Type Register.
24 23
Reserved
Table 9-2 describes the bit assignments of the MPU Type Register.
Function
Reserved.
Because the processor core uses only a unified MPU, IREGION always contains
Number of supported MPU regions field. DREGION contains
contains an MPU indicating eight MPU regions, otherwise it contains
Reserved.
Because the processor core uses only a unified MPU, SEPARATE is always 0.
MPU Control Register
Use the MPU Control Register to:
•
enable the MPU
•
enable the default memory map (background region)
•
enable the MPU when in Hard Fault, Non-maskable Interrupt (NMI), and
FAULTMASK escalated handlers.
When the MPU is enabled, at least one region of the memory map must be enabled for
the MPU to function unless the PRIVDEFENA bit is set. If the PRIVDEFENA bit is set
and no regions are enabled, then only privileged code can operate.
When the MPU is disabled, the default address map is used, as if no MPU is present.
When the MPU is enabled, only the system partition and vector table loads are always
accessible. Other areas are accessible based on regions and whether PRIVDEFENA is
enabled.
Copyright © 2005-2008 ARM Limited. All rights reserved.
16 15
IREGION
Figure 9-1 MPU Type Register bit assignments
Table 9-2 MPU Type Register bit assignments
Non-Confidential
8 7
DREGION
Reserved
if the implementation
0x08
0x00
.
1 0
SEPARATE
.
0x00
ARM DDI 0337G
Unrestricted Access