| commit | 66a38bd5184d941f5319a5e38d389986f64a4f7c | [log] [tgz] |
|---|---|---|
| author | Karl Meakin <karl.meakin@arm.com> | Tue May 28 16:00:56 2024 +0100 |
| committer | Karl Meakin <karl.meakin@arm.com> | Thu Jul 25 14:49:00 2024 +0100 |
| tree | ec455201b70e42b00a490c8b251f445af35c9a77 | |
| parent | a5ea909bfc615d84e6ae9e4791014d81d39b71e8 [diff] |
fix: fix build with clang-18 Some uses of inline assembly for accessing floating point registers did not enable the FP extension and were failing with clang-18. The check in the linker script for the `hftest_enable` variable fails under clang-18. However, hftest still compiles and passes without the check, so it was removed. Fix new warnings from `clang-tidy`. Apply `make format`. Change-Id: I43996abb4c42de54be807dcdb76107b9752c62fb Signed-off-by: Karl Meakin <karl.meakin@arm.com>
Hafnium is the Secure Partition Manager(SPM) reference implementation, following the Arm's Firmware Framework specification.
It leverages Arm's virtualization extensions in the secure world of Arm's A class of devices (feature introduced with Armv8.4 FEAT_SEL2) to allow multiple Trusted OSes or Applications to run concurrently, inside the Trusted Execution Environment, each running as a Secure Partition (SP). Its main goal is to control the system access given to Trusted OSes, and serve as a mediator to the rest of the system.
For example, it limits the memory use, and handles all system calls from Trusted OS. Thus the SPM can enforce spacial isolation, and enforce some level of access control, protecting other critical system resources such as: the secure monitor, the normal world software stack, the SPM itself and other SPs/Trusted Applications. Other important features are: secure interrupt handling, device assignment, inter-partition communication and with the Normal World Software stack, also known as Rich Execution Environment (REE).
The following diagram shows an overview of a typical aarch64-based system, and where Hafnium fits:
Get in touch and keep up-to-date at:
See feature requests and bugs through github.
To find more about Hafnium, view the full documentation. It includes valuable resources such as: Getting Started guide, Threat Model, and other documentation.