commit | d4ff0eda5022b12a38edbd716cac4e0e5f92aa18 | [log] [tgz] |
---|---|---|
author | Andrew Walbran <qwandor@google.com> | Wed Apr 27 20:03:10 2022 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Wed Apr 27 20:03:10 2022 +0000 |
tree | 1cdc72801b5e02bdd239bef4d55177ac0c23117f | |
parent | 5f3111b9bcd43c3c24fcf953a0bd323f7735e80d [diff] | |
parent | 841be8624e08e367063b864bcf3f1ee0e280b202 [diff] |
Initial import of psci crate. am: 610e8081dd am: b786ef0acb am: 841be8624e Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/psci/+/2076521 Change-Id: I691a6ce6e7b92466292cb01fb00938424eab0103 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This crate provides constants for version 1.1 of the Arm Power State Coordination Interface (PSCI), and functions to call them.
Note that PSCI 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.