Professional Documents
Culture Documents
MEMORY SYSTEM
ARM processors are used in embedded systems
Different types of memory
Multiple types 2. Catches 3. Write buffers 4. Virtual memory and other remapping techniques
1.
MMU ARCHITECTURE
VIRTUAL TO PHYSICAL ADRESS MAPPING Address generated by the ARM processor is called a virtual adress
MMU allows this address to be mapped to a different
physical address
memory aborts The process of doing full translational table lookup is called translation table walk
looks up the virtual address of the access in the TLB If the implementation has separate data and instruction TLBs,it uses The instruction TLB for an instruction fetch The data TLB for all other types of access
register 1 of the system coprocessor When MMU is disabled,memory access is treated as follows The values of C and B bits are irrelevant The data access is treated as uncachable and unbufferable
TRANSLATION PROCESS
The MMU supports memory accesses based on sections or pages The different page sizes are supported 1. Tiny pages 2. Small pages 3. Large pages
TRANSLATION TABLE
It is held in main memory has 2 levels
1.First level table It holds section translations and pointers to second level tables 2.Second level table It holds both large and small page translations
DOMAINS
A domain is a collection of sections,large pages and small pages Two kinds of domain access are supported 1.Clients 2.Managers
ABORTS
MMU fault
The MMU detects the restriction and signals the processor External abort The external memory system signals on illegal memory access
domain number of the access The virtual address which caused the data abort is written into FAR
EXTERNAL ABORTS
The ARM architecture defines an external abort pin
A line fetch can be safely aborted on any word in the
line transfer Buffered writes cannot be externally aborted The value of a memory location that causes an abort is unpredictable after the abort
CP15 REGISTERS
Register 1 M[bit 0] is the enable/disable bit for the MMU A[bit 1] enables and disables allignment fault checking S[bit 8] is the system protection bit R[bit 9] is the ROM protection bit
REGISTER 2
Reading from register 2 returns the physical adress Writing to register 2 updates the physical adress
REGISTER 3
REGISTER 5
REGISTER 6
REGISTER 8 AND 10
Register 8 is a write only register which is used to
control TLBS Register 10 is used for TLB lockdown TLB lockdown is a feature of ARM memory systems
CONCLUSION
MMU is a sophisticated system to control virtual to
memory.
It also perfoms access to memory and other memory
attributes
REFERENCE
[1].Arm reference manual
[2].www.arm.com
[3].www.wikipedia.com
THANK YOU