commit | e8fdaed4c3767454f63e7a701c3f9aa2d0dc0036 | [log] [tgz] |
---|---|---|
author | Karl Meakin <karl.meakin@arm.com> | Wed May 22 10:02:21 2024 +0100 |
committer | Karl Meakin <karl.meakin@arm.com> | Tue Jun 11 16:26:44 2024 +0100 |
tree | bb72a5bad63de341c9d0cd868c73ceff587dd925 | |
parent | 93157d09e78f1c0bad93632261f70201e69024cd [diff] |
refactor(dlog): replace macros with enums Move `LOG_LEVEL` macros into `log_level` enum. Change-Id: I3a7eeb1a8eb51605e71a371eeb903aacf14e9097 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.