Protection Unit
Copyright © ARM Limited 2000. All rights reserved.
4-3
4.2
Memory regions
You can partition the address space into a maximum of eight regions. Each region is
specified by the following:
•
region base address
•
region size
•
cache and write buffer configuration
•
read and write access permissions.
The ARM architecture uses constants known as inline literals to perform address
calculations. These constants are automatically generated by the assembler and
compiler and are stored inline with the instruction code. To ensure correct operation,
you must define an area of memory, from where code is to be executed, that allows both
data and instruction accesses.
The base address and size properties are programmed using CP15 register 6. The format
for this is shown in Table 4-1.
4.2.1
Region base address
The base address defines the start of the memory region. You must align this to a region-
sized boundary. For example, if a region size of 8KB is programmed for a given region,
the base address must be a multiple of 8KB.
Note
If the region is not aligned correctly, this results in unpredictable behavior.
Table 4-1 Protection register format
Register
bit
Function
31:12
Region base address
11:6
Unused
5:1
Region size
0
Region enable
Reset to disable (0).
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 ...