EasyManuals Logo

ARM ARM1176JZF-S User Manual

Default Icon
759 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 #214 background imageLoading...
Page #214 background image
System Control Coprocessor
ARM DDI 0301H Copyright © 2004-2009 ARM Limited. All rights reserved. 3-82
ID012310 Non-Confidential, Unrestricted Access
For all other cases when the VA to PA operation fails, the processor only updates the PA register,
Secure or Non-secure version, depending on the Secure or Non-secure state of the core when
the operation was issued, with the Fault Status Register encoding and bit[0] set. The Data Fault
Status Register and Fault Address Register remain unchanged and the processor does not send
an abort to the core.
To use the PA Register read or write CP15 c7 with:
Opcode_1 set to 0
CRn set to c7
CRm set to c4
Opcode_2 set to 0.
For example:
MRC p15, 0, <Rd>, c7, c4, 0 ; Read PA Register
MCR p15, 0, <Rd>, c7, c4, 0 ; Write PA Register
VA to PA translation in the current world
The purpose of the VA to PA translation in the current world is to translate the address with the
current virtual mapping for either Secure or Non-secure worlds.
The VA to PA translation in the current world operations use:
•CP15 c7
four, 32-bit write-only operations common to the Secure and Non-secure worlds
operations accessible in privileged modes only
The operations work for privileged or User access permissions and returns information in the
PA Register for aborts, when the translation is unsuccessful, or page table information, when the
translation succeeds.
Attempts to access the VA to PA translation operations in the current world in User mode result
in an Undefined exception.
To use the VA to PA translation in the current world write CP15 c7 with:
Opcode_1 set to 0
CRn set to c7
CRm set to c8
Opcode_2 set to:
0 for privileged read permission
1 for privileged write permission
2 for User read permission
3 for User write permission.
General register <Rn> contains the VA for translation. The result returns in the PA Register, for
example:
MCR p15,0,<Rn>,c7,c8,3 ;get VA = <Rn> and run VA-to-PA translation
;with User write permission.
;if the selected page table has the
;User write permission, the PA is loaded
;in PA register, otherwise abort information is
;loaded in PA Register
MRC p15,0,<Rd>,c7,c4,0 ;read in <Rd> the PA value

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

ARM ARM1176JZF-S Specifications

General IconGeneral
BrandARM
ModelARM1176JZF-S
CategoryComputer Hardware
LanguageEnglish

Related product manuals