05.02.2013 Views

ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition

ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition

ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Virtual Memory System <strong>Architecture</strong> (VMSA)<br />

MCR p15,0,,c7,c8,2 ; Write CP15 VA to User Read VA to PA Translation Register<br />

MRC p15,0,,c7,c4,0 ; Read CP15 PA from Physical Address Register<br />

An example of a VA to PA translation when the Security Extensions are implemented <strong>and</strong> the processor is<br />

in the Secure state is:<br />

MCR p15,0,,c7,c8,5 ; Write VA to Other State Privileged Write VA to PA Translation Register<br />

; Performs VA to PA translation for Non-secure security state<br />

MRC p15,0,,c7,c4,0 ; Read PA from Physical Address Register<br />

VA to PA translation when the MMU is disabled<br />

The VA to PA translation operations occur even when the MMU is disabled. The operations report the flat<br />

address mapping <strong>and</strong> the MMU-disabled value of the attributes <strong>and</strong> permissions for the data side accesses.<br />

These include any MMU-disabled re-mapping specified by the TEX-remap facilities. The SuperSection bit<br />

is 0 when the MMU is disabled. For more information about the address <strong>and</strong> attributes returned when the<br />

MMU is disabled see Enabling <strong>and</strong> disabling the MMU on page B3-5.<br />

When the Security Extensions are implemented, this information applies when the MMU is disabled in the<br />

security state for which the VA to PA translation is performed.<br />

B3.12.33 CP15 c7, Miscellaneous functions<br />

CP15 c7 provides a number of functions, summarized in Figure B3-10 on page B3-65. This section<br />

describes only the CP15 c7 miscellaneous operations.<br />

Figure B3-19 shows the CP15 c7 miscellaneous operations. It does not show the other CP15 c7 operations.<br />

CRn opc1 CRm opc2<br />

c7 0 c0 4<br />

NOP, was Wait For Interrupt (CP15WFI) in <strong>ARM</strong>v6<br />

c5 4<br />

CP15ISB, Instruction Synchronization Barrier operation<br />

c10 4<br />

CP15DSB, Data Synchronization Barrier operation<br />

5<br />

CP15DMB, Data Memory Barrier operation<br />

c13 1 NOP, was Prefetch instruction by MVA in <strong>ARM</strong>v6<br />

Read-only Read/Write Write-only Bold text = Accessible in User mode<br />

The CP15 c7 miscellaneous operations are described in:<br />

CP15 c7, Data <strong>and</strong> Instruction Barrier operations on page B3-137<br />

CP15 c7, No Operation (NOP) on page B3-138.<br />

Figure B3-19 CP15 c7 Miscellaneous operations<br />

B3-136 Copyright © 1996-1998, 2000, 2004-2008 <strong>ARM</strong> Limited. All rights reserved. <strong>ARM</strong> DDI 0406B

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

Saved successfully!

Ooh no, something went wrong!