Protection Unit
4-6
Copyright © ARM Limited 2000. All rights reserved.
4.3
Overlapping regions
You can program the protection unit with two or more overlapping regions. When
overlapping regions are programmed, a fixed priority scheme is applied to determine
the overlapping region attribute that is applied to the memory access (attributes for
region 7 take highest priority, those for region 0 take lowest priority).
For example:
Region 2
Is programmed to be 4KB in size, starting from address
0x3000
with Dap[3:0] = 0010.
(Privileged mode full access, User mode read only.)
Region 1
Is programmed to be 16KB in size, starting from address
0x0000
with Dap[3:0] = 0001.
(Privileged mode access only.)
When the processor performs a data load from address
0x3010
while in User mode, the
address falls into both region 1 and region 2, as shown by the shaded area in
Figure 4-2. Because there is a clash, the attributes associated with region 2 are applied.
Because you are only allowed to perform reads from this region, a Data Abort occurs.
Figure 4-2 Overlapping memory regions
4.3.1
Background regions
Overlapping regions increase the flexibility of how the eight regions can be mapped
onto physical memory devices in the system. You can also use the overlapping
properties to specify a background region. For example, you might have a number of
physical memory areas sparsely distributed across the 4GB address space. If a
programming error occurs therefore, it might be possible for the processor to issue an
address that does not fall into any defined region.
0x0000
Region 2
Region 1
0x3000
0x4000
0x3010
Summary of Contents for ARM946E-S
Page 1: ...ARM DDI 0155A ARM946E S Technical Reference Manual ...
Page 6: ...vi Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A 04 Limited Confidential ...
Page 54: ...Programmer s Model 2 34 Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A ...
Page 70: ...Caches 3 16 Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A ...
Page 78: ...Protection Unit 4 8 Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A ...
Page 112: ...Coprocessor Interface 7 14 Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A ...