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.

B3.3 Translation tables<br />

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

The MMU supports memory accesses based on memory sections or pages:<br />

Supersections Consist of 16MB blocks of memory. Support for Supersections is optional.<br />

Sections Consist of 1MB blocks of memory.<br />

Large pages Consist of 64KB blocks of memory.<br />

Small pages Consist of 4KB blocks of memory.<br />

Support for Supersections, Sections <strong>and</strong> Large pages enables a large region of memory to be mapped using<br />

only a single entry in the TLB.<br />

The translation tables held in memory have two levels:<br />

First-level table<br />

Holds first-level descriptors that contain the base address <strong>and</strong><br />

translation properties for Sections <strong>and</strong> Supersections<br />

translation properties <strong>and</strong> pointers to a second level table for Large pages <strong>and</strong> Small<br />

pages<br />

Second-level tables<br />

Hold second-level descriptors, each containing the base address <strong>and</strong> translation properties<br />

for a Small pages or a Large page. Second-level tables are also referred to as Page tables.<br />

The translation tables are described in the following sections:<br />

Translation table entry formats<br />

Translation table base registers on page B3-11<br />

Translation table walks on page B3-13<br />

Changing translation table attributes on page B3-21<br />

The access flag on page B3-21.<br />

B3.3.1 Translation table entry formats<br />

The formats of the first-level <strong>and</strong> second-level translation table descriptor entries in the translation tables are<br />

described in:<br />

First-level descriptors on page B3-8<br />

Second-level descriptors on page B3-10.<br />

For more information about second-level translation tables see Additional requirements for translation<br />

tables on page B3-11.<br />

Note<br />

In previous versions of the <strong>ARM</strong> <strong>Architecture</strong> <strong>Reference</strong> <strong>Manual</strong> <strong>and</strong> in some other documentation, the<br />

AP[2] bit in the translation table entries is described as the APX bit.<br />

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

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

Saved successfully!

Ooh no, something went wrong!