commit | 0d497082a4d685de2ac2db31d9fa0811907f20ff | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <[email protected]> | Tue Apr 18 03:03:56 2023 +0000 |
committer | Automerger Merge Worker <[email protected]> | Tue Apr 18 03:03:56 2023 +0000 |
tree | 1bc2c7528414de3900e3b868e851c80723feb7cb | |
parent | 2f94f722884acf668143ac063653521046058f74 [diff] | |
parent | 46c793c6a641f54a4c97056ed321b1c8da36b212 [diff] |
Snap for 9957928 from 3a87865f29c9ff1b8718da9112992b1d1a0738ae to udc-release am: 46c793c6a6 Original change: https://googleplex-android-review.googlesource.com/c/platform/external/rust/crates/psci/+/22692718 Change-Id: I8ed8a115a669fe03fbd0c9491cd2102f430b6685 Signed-off-by: Automerger Merge Worker <[email protected]>
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.