commit | 1e59aae4b4a9b2ddffb99dc4722788562e18790d | [log] [tgz] |
---|---|---|
author | Andrew Walbran <qwandor@google.com> | Tue Nov 14 04:32:03 2023 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue Nov 14 04:32:03 2023 +0000 |
tree | 77d115c8b1f0e01e5e061bd56a405b04efdf12d0 | |
parent | 81db4274f7df7162b5eb95de3d5f1b4c0f20eecc [diff] | |
parent | e9b0384d9fdaa4b1bd55d744ff56a60022f1cdc7 [diff] |
Migrate to cargo_embargo. am: e24e2e4e2e am: bf01d4b1fe am: e9b0384d9f Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/smccc/+/2828012 Change-Id: I4b385d6a8d2c4d3879bc8ac8fa13964f235c083d Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
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 the PSCI and SMCCC arch calls may be made via either HVC or SMC. You can choose which one to use by passing either Hvc
or Smc
as a type parameter to the relevant function.
This crate currently only supports aarch64 and the SMC64 versions of the PSCI 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.