System Control Coprocessor
ARM DDI 0301H
Copyright © 2004-2009 ARM Limited. All rights reserved.
3-58
ID012310
Non-Confidential, Unrestricted Access
Table 3-53 lists how the bit values correspond with the Translation Table Base Register 0
functions.
Attempts to write to this register in Secure Privileged mode when
CP15SDISABLE
is HIGH
result in an Undefined exception, see
TrustZone write access disable
on page 2-9.
Table 3-54 lists the results of attempted access for each mode.
A write to the Translation Table Base Register 0 updates the address of the first level translation
table from the value in bits [31:7] of the written value, to account for the maximum value of 7
for N. The number of bits of this address that the processor uses, and therefore, the required
alignment of the first level translation table, depends on the value of N, see
c2, Translation Table
Base Control Register
on page 3-60.
A read from the Translation Table Base Register 0 returns the complete address of the first level
translation table in bits [31:7] of the read value, regardless of the value of N.
To use the Translation Table Base Register 0 read or write CP15 c2 with:
•
Opcode_1 set to 0
•
CRn set to c2
•
CRm set to c0
Table 3-53 Translation Table Base Register 0 bit functions
Bits
Field name
Function
[31:14-N]
a
Translation table base 0
Holds the translation table base address, the physical address of the first level
translation table. The reset value is 0.
[13-N:5]
a
-
UNP/SBZ.
[4:3]
RGN
Indicates the Outer cacheable attributes for page table walking:
b00 = Outer Noncacheable, reset value
b01 = Write-back, Write Allocate
b10 = Write-through, No Allocate on Write
b11 = Write-back, No Allocate on Write.
[2]
P
If the processor supports ECC, it indicates to the memory controller it is enabled
or disabled. For ARM1176JZF-S processors this is 0:
0 =
Error-Correcting Code
(ECC) is disabled, reset value
1 = ECC is enabled.
[1]
S
Indicates the page table walk is to Non-Shared or to Shared memory:
0 = Non-Shared, reset value
1 = Shared.
[0]
C
Indicates the page table walk is Inner Cacheable or Inner Noncacheable:
0 = Inner noncacheable, reset value
1 = Inner cacheable.
a. For an explanation of N see
c2, Translation Table Base Control Register
on page 3-60.
Table 3-54 Results of access to the Translation Table Base Register 0
Secure Privileged
Non-secure Privileged
User
Read
Write
Read
Write
Secure data
Secure data
Non-secure data
Non-secure data
Undefined exception