4.2. Memory regions

You can partition the address space into a maximum of eight regions. Each region is specified by the following:

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 enables both data and instruction accesses.

The base address and size properties are programmed using CP15 register 6. Table 4.1 shows the format.

Table 4.1. Protection Register format

Register bits

Function

[31:12]

Region base address

[11:6]

Unused

[5:1]

Region size

[0]

Region enable

Reset to disable (0).

Copyright © 2001-2003, 2007 ARM Limited. All rights reserved.ARM DDI 0201D
Non-Confidential