Add data and instruction cache maintenance functions

Add Xlat::clean_data_cache and Xlat::invalidate_instruction_cache
functions, that clean/invalidate the data/instruction caches of a given
virtual address range.

Signed-off-by: Imre Kis <imre.kis@arm.com>
Change-Id: I60deeedcaeed88a4487f3e08243541ea213deec6
1 file changed
tree: 6033e3ec143c5e9c11389713d9e7784483a58803
  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