Atmel ARM-Based Evaluation Kit AT91SAM9N12-EK AT91SAM9N12-EK Scheda Tecnica

Codici prodotto
AT91SAM9N12-EK
Pagina di 248
Memory Management Unit 
ARM DDI0198D
Copyright © 2001-2003 ARM Limited. All rights reserved.
3-3
3.1.1
Access permissions and domains
For large and small pages, access permissions are defined for each subpage (1KB for 
small pages, 16KB for large pages). Sections and tiny pages have a single set of access 
permissions. 
All regions of memory have an associated domain. A domain is the primary access 
control mechanism for a region of memory. It defines the conditions necessary for an 
access to proceed. The domain determines if:
access permissions are used to qualify the access
the access is unconditionally allowed to proceed
the access is unconditionally aborted.
In the latter two cases, the access permission attributes are ignored. 
There are 16 domains. These are configured using the domain access control register 
(see Domain Access Control Register c3 on page 2-17).
3.1.2
Translated entries
The main TLB caches 64 translated entries. If, during a memory access, the main TLB 
contains a translated entry for the MVA, the MMU reads the protection data to detrmine 
if the access is permitted:
if access is permitted and an off-chip access is required, the MMU outputs the 
appropriate physical address corresponding to the MVA
if access is permitted and an off-chip access is not required, the cache or TCM 
services the access
if access is not permitted, the MMU signals the CPU core to abort.
If the TLB misses (it does not contain an entry for the MVA) the translation table walk 
hardware is invoked to retrieve the translation information from a translation table in 
physical memory. When retrieved, the translation information is written into the TLB, 
possibly overwriting an existing value.
To enable use of TLB locking features, the location to be written can be specified using 
CP15 c10 TLB Lockdown Register.
At reset the MMU is turned off, no address mapping occurs, and all regions are marked 
as noncachable and nonbufferable.