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.

Translation flow for a Small page<br />

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

Figure B3-6 shows the virtual to physical addresses translation for a Small page. For details of the access<br />

control fields in the first-level descriptor see the Page table entry in Table B3-1 on page B3-8. For details of<br />

the access control fields in the second-level descriptor see the Small page entry in Table B3-2 on<br />

page B3-10.<br />

Translation Table<br />

Base Register<br />

MVA<br />

PA[31:0] of<br />

first-level descriptor<br />

PA[39:32] = 0x00<br />

First-level<br />

read<br />

First-level<br />

descriptor<br />

PA[31:0] of<br />

second-level descriptor<br />

PA[39:32] = 0x00<br />

Second-level<br />

descriptor<br />

31 14-N 13-N<br />

Translation base SBZ<br />

31 32-N 31-N<br />

20 19<br />

31 14-N 13-N 2 1<br />

Translation base<br />

First-level<br />

table index<br />

First-level<br />

table index<br />

Figure B3-6 Small page address translation<br />

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

0<br />

Second-level<br />

table index<br />

0<br />

0 0<br />

12 11<br />

31 10 9<br />

21<br />

Page table base address<br />

31 10 9<br />

21<br />

Second-level<br />

read<br />

Page table base address<br />

31<br />

31<br />

Access<br />

control fields<br />

Second-level<br />

table index<br />

Small page base address<br />

12 11<br />

12 11<br />

0<br />

0 1<br />

0<br />

0 0<br />

Page index<br />

Access<br />

control fields<br />

PA[31:0]<br />

PA[39:32] = 0x00<br />

Small page base address Page index<br />

For a translation based on TTBR0, N is the value of TTBCR.N<br />

For a translation based on TTBR1, N is 0<br />

‡ This field is absent if N==0<br />

‡<br />

1<br />

0<br />

21 0<br />

0

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

Saved successfully!

Ooh no, something went wrong!