commit | be75da815f00fa75713cbd7ddd0bdfd2221e39b3 | [log] [tgz] |
---|---|---|
author | Ludovic Mermod <ludovic.mermod@arm.com> | Wed Sep 17 11:13:28 2025 +0200 |
committer | Ludovic Mermod <ludovic.mermod@arm.com> | Wed Sep 17 11:13:28 2025 +0200 |
tree | ac4594480cc5735d7671655b27d7beb977c4e60d | |
parent | 5421a611f0b47fe824dd96bc25bedce9ae938abc [diff] |
Initial implementation of the Arm TZ-ASC driver Adds the `Tzc` struct, which uses `safe_mmio` to manipulate the registers of the Arm TZ-ASC component. The structure directly exposes general purposes registers, and other wrappers for failure and region registers. Signed-off-by: Ludovic Mermod <ludovic.mermod@arm.com> Change-Id: Ife2757e62634c634da0d4efabe3171a29245f386
Driver implementation for the TZC-400 TrustZone Address Space Controller.
The driver is designed to function regardless of whether a Memory Management Unit (MMU) is present. The primary role of the OwnedMmioPointer
is to manage the lifetime of the peripheral, ensuring proper resource handling. In a system that includes an MMU, the peripheral's lifetime is dynamic because it is mapped into memory rather than having a fixed address. In a system without an MMU, the OwnedMmioPointer
can be instantiated directly from the physical address of the register block, providing access to the peripheral without requiring memory mapping.
AID_WIDTH
configuration value to manipulate the FailIDRegister
.The project is MIT and Apache-2.0 dual licensed, see LICENSE-Apache-2.0
and LICENSE-MIT
.
arm-tzc is a trustedfirmware.org maintained project. All contributions are ultimately merged by the maintainers listed below.
Please follow the directions of the Trusted Firmware Processes
Contributions are handled through review.trustedfirmware.org.
Arm is a registered trademark of Arm Limited (or its subsidiaries or affiliates).
This project uses some of the Arm product, service or technology trademarks, as listed in the Trademark List, in accordance with the Arm Trademark Use Guidelines.
Subsequent uses of these trademarks throughout this repository do not need to be prefixed with the Arm word trademark.
Copyright The arm-tzc Contributors.