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

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

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

Level 2 cache support<br />

<strong>ARM</strong>v4 <strong>and</strong> <strong>ARM</strong>v5 Differences<br />

The recommended method for adding closely coupled level 2 cache support from <strong>ARM</strong>v5TE is to define<br />

equivalent operations to the level 1 support with == 1 in the appropriate MCR instructions. The<br />

operations in Table H-21 on page AppxH-49 that are supported are IMPLEMENTATION DEFINED.<br />

H.7.9 c7, Miscellaneous functions<br />

The Wait For Interrupt operation is used in some implementations as part of a power management support<br />

scheme. The operation is deprecated in <strong>ARM</strong>v6 <strong>and</strong> not supported in <strong>ARM</strong>v7 (it behaves as a NOP<br />

instruction).<br />

Barrier operations are used for system correctness to ensure visibility of memory accesses to other agents<br />

in a system. For <strong>ARM</strong>v4 <strong>and</strong> <strong>ARM</strong>v5 the requirement for <strong>and</strong> use of barrier operations is IMPLEMENTATION<br />

DEFINED. Barrier functionality is formally defined as part of the memory architecture enhancements<br />

introduced in <strong>ARM</strong>v6.<br />

Table H-22 summarizes the MCR instruction encoding details.<br />

H.7.10 c8, VMSA TLB support<br />

Table H-22 Memory barrier register support<br />

Operation CRn opc1 CRm opc2<br />

Wait For Interrupt (CP15WFI) c7 0 c0 4<br />

Instruction Synchronization Barrier (CP15ISB) a<br />

Data Synchronization Barrier (CP15DSB) b<br />

c7 0 c5 4<br />

c7 0 c10 4<br />

Data Memory Barrier (CP15DMB) c7 0 c10 5<br />

a. This operation was previously known as Prefetch Flush (PF or PFF).<br />

b. This operation was previously known as Data Write Barrier or Drain Write Buffer (DWB).<br />

Table H-23 illustrates TLB operation provision in <strong>ARM</strong>v4 <strong>and</strong> <strong>ARM</strong>v5. All TLB operations are performed<br />

as MCR instructions <strong>and</strong> are a subset of the operations available in <strong>ARM</strong>v7. See CP15 c8, TLB maintenance<br />

operations on page B3-138.<br />

Table H-23 TLB operation support<br />

Operation CRn opc1 CRm opc2<br />

Invalidate Instruction TLB c8 0 c5 0<br />

Invalidate Instruction TLB Entry (by MVA) c8 0 c5 1<br />

Invalidate Data TLB c8 0 c6 0<br />

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

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

Saved successfully!

Ooh no, something went wrong!