commit | 655db81c16ea97290ce6aea232b48d224e7fb230 | [log] [tgz] |
---|---|---|
author | Imre Kis <imre.kis@arm.com> | Tue Sep 23 17:36:55 2025 +0200 |
committer | Imre Kis <imre.kis@arm.com> | Wed Sep 24 11:42:57 2025 +0200 |
tree | ee0348f35c1848f962129a874e81e5d948fd49d0 | |
parent | bdf1c70d8c0bf3cea490a39b89af490b5589903e [diff] |
Fix address mask calculation Replace left shift and subtract operator with unbounded_shl and wrapping_sub so the overflow will not cause a panic if the implemented address width is 64 bit. Signed-off-by: Imre Kis <imre.kis@arm.com> Change-Id: I6f642192a5eead9000cfac77f679064dfc33d0e7
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.