commit | 17527effd9ef92ce76d8cb68735446ca0a08459b | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Nov 03 08:19:33 2022 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Nov 03 08:19:33 2022 +0000 |
tree | 76832451701d31ab2eed2f4acbbc0eb90c5ec279 | |
parent | ba40baf13f2784a31066c12747261966f4bd3920 [diff] | |
parent | 2f94f722884acf668143ac063653521046058f74 [diff] |
Snap for 9250849 from 2f94f722884acf668143ac063653521046058f74 to udc-d1-release Change-Id: Ie135f631b10a4fd6f82c682693c5b67df1acec36
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.