Epson ARM720T Core Cpu Manual page 116

Revision 4 (amba ahb bus interface version)
Table of Contents

Advertisement

7: Memory Management Unit
7.7.2
Translation fault
There are two types of translation fault:
Section
Page
7.7.3
Domain fault
There are two types of domain fault:
Section
Page
If the specified access is either no access (b00) or reserved (b10) then either a section domain
fault or page domain fault occurs.
7.7.4
Permission fault
If the 2-bit domain field returns 01 (client) then access permissions are checked as follows:
Section
Large page or small page
Tiny page
7-20
A section translation fault is generated if the level one descriptor is
marked as invalid. This happens if bits [1:0] of the descriptor are
both 0.
A page translation fault is generated if the level two descriptor is
marked as invalid. This happens if bits [1:0] of the descriptor are
both 0.
The level one descriptor holds the 4-bit domain field, which selects
one of the 16 2-bit domains in the Domain Access Control Register.
The two bits of the specified domain are then checked for access
permissions as described in Table 7-11 on page 7-18. The domain is
checked when the level one descriptor is returned.
The level one descriptor holds the 4-bit domain field, which selects
one of the 16 2-bit domains in the Domain Access Control Register.
The two bits of the specified domain are then checked for access
permissions as described in Table 7-11 on page 7-18. The domain is
checked when the level one descriptor is returned.
If the level one descriptor defines a section-mapped access, the AP
bits of the descriptor define whether or not the access is allowed,
according to Table 7-11 on page 7-18. Their interpretation is
dependent on the setting of the S and R bits (control register bits 8
and 9). If the access is not allowed, a section permission fault is
generated.
If the level one descriptor defines a page-mapped access and the
level two descriptor is for a large or small page, four access
permission fields (AP3-AP0) are specified, each corresponding to
one quarter of the page. For small pages ap3 is selected by the top
1KB of the page and ap0 is selected by the bottom 1KB of the page.
For large pages, ap3 is selected by the top 16KB of the page and ap0
is selected by the bottom 16KB of the page. The selected AP bits are
then interpreted in exactly the same way as for a section (see
Table 7-11 on page 7-18). The only difference is that the fault
generated is a page permission fault.
If the level one descriptor defines a page-mapped access and the
level two descriptor is for a tiny page, the AP bits of the level one
descriptor define whether or not the access is allowed in the same
way as for a section. The fault generated is a page permission fault.
EPSON
ARM720T CORE CPU MANUAL

Advertisement

Table of Contents
loading

Table of Contents