commit | 5ded592d7652768ce8834a71a0154076c27e2306 | [log] [tgz] |
---|---|---|
author | Balint Dobszay <balint.dobszay@arm.com> | Fri Jun 13 12:06:53 2025 +0200 |
committer | Balint Dobszay <balint.dobszay@arm.com> | Fri Jun 13 14:07:34 2025 +0200 |
tree | 50775e3dac89dac27034b729fa8e855d67357845 | |
parent | 042c29469628643142bc7c91331f3bbe36318813 [diff] |
Add helper for register count used by a version Prior to FF-A v1.2 the specification defined 8 registers for making FF-A calls. Starting from FF-A v1.2 however 18 registers are used for all calls. Add a helper method to check this. Signed-off-by: Balint Dobszay <balint.dobszay@arm.com> Change-Id: I64837e12306a01b788ccf013c6dbde0bc4e2eccd
Arm Firmware Framework for Arm A-profile (FF-A) specification
FF-A Memory Management Protocol specification
Library for handling common FF-A related functionality, create and parse interfaces and descriptors defined by FF-A. Starting from FF-A v1.2 the memory management related parts of the specification have been moved to a separate document (link above).
thiserror
) so the library user knows what's wrong.ffa_v1_1
and later modules).zerocopy
traits.The FF-A specification allows different components of a system to use different versions of the specification. The version used at a specific FF-A instance (i.e. an interface between two FF-A components) is discovered at runtime, either by parsing FF-A manifests or using FFA_VERSION
. An FF-A component might have to use multiple versions at runtime on its different interfaces, therefore this library must be able to support this and having a compile time fixed version is not possible. Because of this, most of the functions to create or parse FF-A messages and data structures require passing the FF-A version used at the instance where the serialized data was received from or will be sent to.
FFA_MEM_*
interfaces (partial).The project is MIT and Apache-2.0 dual licensed, see LICENSE-APACHE
and LICENSE-MIT
.
arm-ffa 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.
Please follow the directions of the Trusted Firmware Security Center
Copyright 2025 Arm Limited and/or its affiliates open-source-office@arm.com
Arm is a registered trademark of Arm Limited (or its subsidiaries or affiliates).