commit | 16e737b9b31dc70159ddcec449ecb28cb04799cd | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <[email protected]> | Mon May 02 07:05:22 2022 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Mon May 02 07:05:22 2022 +0000 |
tree | ee84623f8fc41ad5a14819e174d255b156fdb7b9 | |
parent | 610e8081dd1840ef091378d3d735f65a8622a2b6 [diff] | |
parent | bec09bcab23cf7c98658305ffaeac0b93eb6ce23 [diff] |
Snap for 8523903 from bec09bcab23cf7c98658305ffaeac0b93eb6ce23 to main-cg-testing-release Change-Id: Ie004841982fcf227066fed7fde4e5db5963a206b
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.