13.07.2015 Views

Cortex-A8 R2P2.pdf - ARM Information Center

Cortex-A8 R2P2.pdf - ARM Information Center

Cortex-A8 R2P2.pdf - ARM Information Center

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

System Control CoprocessorVA to PA translation in the current Secure or Nonsecure stateThe purpose of the VA to PA translation in the current Secure or Nonsecure state is totranslate the address with the current virtual mapping for either Secure or Nonsecurestate.The VA to PA translation in the current Secure or Nonsecure state use:• CP15 c7• four, write-only operations common to the Secure and Nonsecure states• operations accessible in privileged modes only.The operations work for privileged or User access permissions and returns informationin the PA Register for aborts, when the translation is unsuccessful, or translation tableinformation, when the translation succeeds.Attempts to access the VA to PA translation operations in the current Secure orNonsecure state in User mode result in an Undefined Instruction exception.To access the VA to PA translation in the current Secure or Nonsecure state, write CP15c7 with:MCR p15, 0, , c7, c8, 3 ; get VA = and run VA-to-PA translation; with User write permission.; if the selected translation table has the; User write permission, the PA is loaded in the PA; Register, otherwise abort information is loaded in; the PA Register.MRC p15, 0, , c7, c4, 0 ; read in the PA valueNote• The VA that this operation uses is the true VA not the MVA.• General register contains the VA for translation. The result returns in thePA Register.VA to PA translation in the other Secure or Nonsecure stateThe purpose of the VA to PA translation in the other Secure or Nonsecure state is totranslate the address with the current virtual mapping in the Nonsecure state while thecore is in the Secure state.The VA to PA translation in the other Secure or Nonsecure state use:• CP15 c7• four, write-only operations in the Secure state only• operations accessible in privileged modes only.<strong>ARM</strong> DDI 0344E Copyright © 2006-2008 <strong>ARM</strong> Limited. All rights reserved. 3-97

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!