
W O R K I N G W I T H T H E C P U
Fault checking sequence
124
Hardware Reference NS9215
Note:
If an access generates an alignment fault, the access sequence aborts without
reference to other permission checks.
Translation faults
There are two types of translation fault: section and page.
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 one descriptor is marked as
invalid. This happens if bits [1:0] of the descriptor are both 0.
Domain faults
There are two types of domain faults: section and page.
Section: The level one descriptor holds the four-bit domain field, which selects
one of the 16 two-bit domains in the Domain Access Control register. The two
bits of the specified domain are then checked for access permissions as
described in “Interpreting access permission bits” on page 121. The domain is
checked when the level one descriptor is returned.
Page: The level one descriptor holds the four-bit domain field, which selects
one of the 16 two-bit domains in the Domain Access Control register. The two
bits of the specified domain are then checked for access permissions as
described in “Interpreting access permission bits” on page 121. The domain is
checked when the level one descriptor is returned.
If the specified access is either no access (00) or reserved (10), either a section
domain fault or a page domain fault occurs.
Permission faults
If the two-bit domain field returns client (01), access permissions are checked as
follows:
Section: If the level one descriptor defines a section-mapped access, the AP
bits of the descriptor define whether the access is allowed, per “Interpreting
access permission bits” on page 121. The interpretation depends on the setting
of the S and R bits (see "R1: Control register," beginning on page 88). If the
access is not allowed, a section permission fault is generated.
Large page or small page: 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 to AP0) are specified, each corresponding to one quarter
of the page.
For small pages, AP3 is selected by the top 1 KB of the page and AP0 is
selected by the bottom 1 KB of the page.
For large pages, AP3 is selected by the top 16 KB of the page and AP0 is
selected by the bottom 16 KB of the page. The selected AP bits are then
Summary of Contents for NS9215
Page 1: ...NS9215 Hardware Reference 90000847_C Release date 10 April 2008...
Page 3: ......
Page 4: ......
Page 26: ...26 Hardware Reference NS9215...
Page 44: ...P I N O U T 26 5 System clock 44 Hardware Reference NS9215 System clock drawing...
Page 52: ...P I N O U T 26 5 Power and ground 52 Hardware Reference NS9215...
Page 80: ...I O C O N T ROL M O D U L E Memory Bus Configuration register 80 Hardware Reference NS9215...
Page 136: ...WOR KI N G W I TH T H E C P U Noncachable instruction fetches 136 Hardware Reference NS9215...
Page 202: ...S Y S T E M C O N T RO L M OD U L E RTC Module Control register 202 Hardware Reference NS9215...
Page 354: ...E X T E R N A L D M A DMA Peripheral Chip Select register 354 Hardware Reference NS9215...
Page 472: ...R E A L TI M E C L O C K M O D U L E General Status register 472 Hardware Reference NS9215...
Page 512: ...TI M I NG Clock timing 512 Hardware Reference NS9215...
Page 515: ...PA CKA GING Processor Dimensions www digiembedded com 515...
Page 516: ...PA CKA GING Processor Dimensions 516 Hardware Reference NS9215...