commit | e682c9c9dc25ee78f1e8f9b11182faf4be874de6 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Tue Aug 16 06:29:39 2022 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Tue Aug 16 06:29:39 2022 +0000 |
tree | ee84623f8fc41ad5a14819e174d255b156fdb7b9 | |
parent | 9f409ea65583826344fe37967fbc53a697dc3442 [diff] | |
parent | ef98d36b51f21f841a5c0af523b2e4a4902ba556 [diff] |
Snap for 8952093 from ef98d36b51f21f841a5c0af523b2e4a4902ba556 to sdk-release Change-Id: I5a3f861483a2e627697655e2d44c711299cc333e
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.