2 memory management unit, 2 memory management unit -4 – Cirrus Logic EP93xx User Manual

Page 42

Advertising
background image

2-4

DS785UM1

Copyright 2007 Cirrus Logic

ARM920T Core and Advanced High-Speed Bus (AHB)
EP93xx User’s Guide

2

2

2

2.2.3.2 Memory Management Unit

The MMU provides the translation and access permissions for the address and data ports for
the ARM9TDMI core. The MMU is controlled by page tables stored in system memory and
accessed using the CP15 register 1. The main features of the MMU are as follows:

Address Translation

Access Permissions and Domains

MMU Cache and Write Buffer Access

2.2.3.2.1 Address Translation

The virtual address from the ARM920T core is modified by R13 internally to create a modified
virtual address. The MMU then translates the modified virtual address from R13 by the CP15
register 3 into a physical address to access external memory or a device. The MMU looks for
the physical address from the Translation Table Base (TTB) in system memory. It will also
update the TLB cache.

The TLB is two 64-entry caches, one for data and one for instruction. If the physical address
for the current virtual address is not found in the TLB (miss), the ARM Core will go to external
memory and look for the TTB in system memory. The internal translation table walks
hardware steps through the page table setup in external memory for the appropriate physical
address.

When the physical address is acquired, the TLB is updated. When the address is found in the
TLB, system performance will increase since additional cycles to access memory and update
the TLB are avoided.

Translation of system memory is done by breaking up the memory into different size blocks
called sections, large pages, small pages, and tiny pages. System memory and registers can
be remapped by the MMU. The block sizes are as follows:

Section - 1 Mbyte

Large Page - 64 kbyte

Small Page - 16 kbyte

Tiny Page - 1 kbyte

2.2.3.2.2 Access Permission and Domains

Access to any section or page of memory is dependent on its domain. The page table in
external memory also contains access permissions for all sub-divisions of external memory.
Access to specific instructions or data has three possible states:

Client: Access permissions based on the section or page table descriptor

Manager: Ignore access permissions in the section or page table descriptor

No access: any attempted access generates a domain fault

Advertising