EasyManuals Logo

ARM Cortex-A35 User Manual

Default Icon
894 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #608 background imageLoading...
Page #608 background image
C5.1 About direct access to internal memory
System registers provide access to the internal memory that the caches and TLBs use. This functionality
can be useful when investigating issues where the coherency between the data in the cache and data in
system memory is broken.
In the AArch64 execution state, the appropriate memory block and location are selected using write-only
registers and the data is read from read-only registers. These operations are available only in EL3. In all
other modes, executing these instruction results in an Undefined Instruction exception.
Table C5-1 AArch64 registers used to access internal memory
Function Access Operation Rd Data
Data Register 0 Read-only
MRS <Xd>, S3_3_c15_c0_0
Data
Data Register 1 Read-only
MRS <Xd>, S3_3_c15_c0_1
Data
Data Register 2 Read-only
MRS <Xd>, S3_3_c15_c0_2
Data
Data Register 3 Read-only
MRS <Xd>, S3_3_c15_c0_3
Data
Data Cache Tag Read Operation Register Write-only
MSR S3_3_c15_c2_0, <Xd>
Set/Way
Instruction Cache Tag Read Operation Register Write-only
MSR S3_3_c15_c2_1, <Xd>
Set/Way
Data Cache Data Read Operation Register Write-only
MSR S3_3_c15_c4_0, <Xd>
Set/Way/Offset
Instruction Cache Data Read Operation Register Write-only
MSR S3_3_c15_c4_1, <Xd>
Set/Way/Offset
TLB Data Read Operation Register Write-only
MSR S3_3_c15_c4_2, <Xd>
Index/Way
In the AArch32 execution state, the appropriate memory block and location are selected using write-only
CP15 registers and the data is read from read-only CP15 registers. These operations are available only in
EL3. In all other modes, executing the CP15 instruction results in an Undefined Instruction exception.
Table C5-2 AArch32 CP15 registers used to access internal memory
Function Access CP15 operation Rd Data
Data Register 0 Read-only
MRC p15, 3, <Rd>, c15, c0, 0
Data
Data Register 1 Read-only
MRC p15, 3, <Rd>, c15, c0, 1
Data
Data Register 2 Read-only
MRC p15, 3, <Rd>, c15, c0, 2
Data
Data Register 3 Read-only
MRC p15, 3, <Rd>, c15, c0, 3
Data
Data Cache Tag Read Operation Register Write-only
MCR p15, 3, <Rd>, c15, c2, 0
Set/Way
Instruction Cache Tag Read Operation Register Write-only
MCR p15, 3, <Rd>, c15, c2, 1
Set/Way
Data Cache Data Read Operation Register Write-only
MCR p15, 3, <Rd>, c15, c4, 0
Set/Way/Offset
Instruction Cache Data Read Operation Register Write-only
MCR p15, 3, <Rd>, c15, c4, 1
Set/Way/Offset
TLB Data Read Operation Register Write-only
MCR p15, 3, <Rd>, c15, c4, 2
Index/Way
Related information
C5.4 Encoding for the main TLB RAM on page C5-612
C5 Direct access to internal memory
C5.1 About direct access to internal memory
100236_0100_00_en Copyright © 2015–2017, 2019 Arm Limited or its affiliates. All rights
reserved.
C5-608
Non-Confidential

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ARM Cortex-A35 and is the answer not in the manual?

ARM Cortex-A35 Specifications

General IconGeneral
BrandARM
ModelCortex-A35
CategoryComputer Hardware
LanguageEnglish

Related product manuals