commit | 25fe9964d2ad90aa37c58112e45a0e37625db551 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Apr 28 01:23:21 2023 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Apr 28 01:23:21 2023 +0000 |
tree | 1bc2c7528414de3900e3b868e851c80723feb7cb | |
parent | 8cd84846c607a7469ba5334752870c69b681db94 [diff] | |
parent | 627742b5f75b5c2fe5665799fd4da8dcbcc40f26 [diff] |
Snap for 10017868 from 627742b5f75b5c2fe5665799fd4da8dcbcc40f26 to udc-qpr1-release Change-Id: Ie62b030469aa53aa6461f494f8de6ee1c51a1d4c
This crate provides support for the Arm SMC Calling Convention version 1.4, including standard Arm Architecture Calls constants, and version 1.1 of the Arm Power State Coordination Interface (PSCI). It includes constants, functions to make the calls (on aarch64 targets), and error types.
Note that PSCI and other SMCCC calls may be made via either HVC or SMC. You can choose which one to use by building this crate with the corresponding feature (i.e. hvc
or smc
). By default hvc
is enabled. If neither feature is enabled then the functions to make calls will not be available, but the constants are still provided.
This crate currently only supports aarch64 and the SMC64 versions of the various calls, in the cases that both SMC32 and SMC64 versions exist.
This is not an officially supported Google product.
Licensed under either of
at your option.
If you want to contribute to the project, see details of how we accept contributions.