commit | 22f4f779262e59c6af82f3398f16e8ad72fa8fc2 | [log] [tgz] |
---|---|---|
author | Andrew Walbran <qwandor@google.com> | Thu Oct 06 15:36:14 2022 +0000 |
committer | Andrew Walbran <qwandor@google.com> | Thu Oct 06 15:56:28 2022 +0000 |
tree | 76832451701d31ab2eed2f4acbbc0eb90c5ec279 | |
parent | ef98d36b51f21f841a5c0af523b2e4a4902ba556 [diff] |
Update to version 0.1.1. Bug: 245889995 Test: m vmbase_example_bin pvmfw_bin Change-Id: Ib73ce18eeeaeb23141a32227cc7e6844dfa2b3e2
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.