commit | c31e0b97cf3a72eca9751b5131fc85d5cab42a33 | [log] [tgz] |
---|---|---|
author | Balint Dobszay <balint.dobszay@arm.com> | Mon Mar 03 20:16:56 2025 +0100 |
committer | Balint Dobszay <balint.dobszay@arm.com> | Tue Mar 04 10:15:42 2025 +0100 |
tree | 54a727caf7b614f4eaeb1203edc7253d95e8b7e7 | |
parent | e6aa4865e8b087254de66c531ca5e7e3f91fd4ca [diff] |
Add Unknown variant to Feature type Add a new variant to the Feature type which represents an unrecognised feature or function ID. This is required to ensure that an FFA_FEATURES call can always be successfully converted into an Interface, even if the queried feature or function ID is currently not recognised by this library. This variant should only be used to parse incoming FFA_FEATURES calls. Creating an FFA_FEATURES interface with the Unknown variant is not supported and will panic. Signed-off-by: Balint Dobszay <balint.dobszay@arm.com> Change-Id: Iec8ecd80c84c6d6c55fa7a9ec3f28340f69dc0b6
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).