Create internal crate::arch module

Gather architecture specific code into the crate::arch module for easier
separation between actual implementations and stubs. Add stubs for cache
invalidation functions.

Signed-off-by: Imre Kis <imre.kis@arm.com>
Change-Id: I476075e233c33762af0105fe37380ab5bccb3911
1 file changed
tree: c7675318e83dde7467ea5bab443438f54f8c6e7a
  1. src/
  2. .gitignore
  3. Cargo.lock
  4. Cargo.toml
  5. dco.txt
  6. LICENSE-Apache-2.0
  7. LICENSE-MIT
  8. README.md
README.md

AArch64 Virtual Memory Translation Table Handler Library

Features

  • Allocate and map data initialized range
  • Allocate and map zero initialized range
  • Map physical address range
  • Unmap virtual address range
  • Query phyisical address of virtual address
  • Set memory access rights

Translation regimes

  • EL1&0 stage 1 Upper/Lower VA ranges
  • EL2&0 stage 1 Upper/Lower VA ranges (VHE)
  • EL2 stage 1
  • EL3 stage 1

Translation granules

  • 4k
  • 16k
  • 64k

Copyright 2024-2025 Arm Limited and/or its affiliates open-source-office@arm.com