Svashasan Logo
Simulated data

Automotive Hardware · Memory and I/O

Memory Management UnitMMU

Also known as IOMMU, SMMU, virtual memory hardware

AdvancedSource-checked · awaiting technical reviewLast reviewed 6 December 2026

Processor hardware that translates the virtual addresses used by software into physical addresses using translation tables, and enforces access permissions and memory attributes, enabling process isolation and virtual memory.

Explanation

Arm's AArch64 memory-management guide describes the MMU as controlling virtual-to-physical address translation. Translation tables in memory, managed by the OS or hypervisor, divide the address space into equal-sized blocks or pages, each with access permissions and attributes such as cacheability. A table-walk unit reads the tables, and translation lookaside buffers (TLBs) cache recent translations, so software must invalidate affected TLB entries whenever it changes the tables.

Arm application processors support an additional stage of translation controlled by a hypervisor to isolate virtual machines. On arm64 Linux with 4 KB pages, three or four table levels give 39-bit or 48-bit virtual address spaces. For devices, an IOMMU (Arm's SMMU) applies comparable translation and protection to DMA traffic.

An MMU differs from the memory protection unit (MPU) common in microcontrollers, which enforces permissions on address regions without translating addresses. MMU-based isolation underpins freedom from interference between processes, but TLB misses and table walks add timing variation that real-time designs must account for.

How it works

Software issues a virtual address. The MMU checks the TLB; on a hit it applies the cached translation and permissions. On a miss the table-walk unit reads table entries from memory level by level to find the physical address and attributes, then fills the TLB. If no valid entry exists or the access violates permissions, the MMU raises a fault that the OS or hypervisor handles.

Automotive applications

  • Process isolation in Linux, QNX and Android
  • Hypervisor partitioning of virtual machines
  • Memory protection for mixed-criticality software
  • DMA isolation with an IOMMU/SMMU

Example

On a central computer, a hypervisor uses its own translation stage so the infotainment virtual machine cannot map memory belonging to the safety-relevant virtual machine. A driver bug that writes to a stray address causes a translation fault handled by the hypervisor instead of corrupting the other partition.

An illustrative example: any figures in it are worked numbers, not measurements.

References

  1. Learn the architecture - AArch64 memory management Guide (101811), version 1.4 (opens in a new tab)

    Arm · Manufacturer documentation · The Memory Management Unit; translation tables and TLB maintenance · retrieved 6 December 2026

    “This guide introduces the MMU, which is used to control virtual to physical address translation.”
  2. Memory Layout on AArch64 Linux (opens in a new tab)

    The Linux Kernel documentation (kernel.org) · Project documentation · Translation levels and address-space split · retrieved 6 December 2026

    “TTBRx selection is given by bit 55 of the virtual address.”

Definitions are original summaries. Standards text is not reproduced; follow the links for the official publications.