commit | 9aa6021dd61b6375dd6b21130e4167f4b6e1e101 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Jun 01 00:15:03 2023 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Jun 01 00:15:03 2023 +0000 |
tree | 5324a0378db3cbccc3dff6c6a7a2c59d91ca6a48 | |
parent | 46635075aa785f1c3253c4e91f457e91672a2621 [diff] | |
parent | 72bfb9111e9bef2ae66f9e3cc84ef132b997473a [diff] |
Snap for 10235775 from 72bfb9111e9bef2ae66f9e3cc84ef132b997473a to simpleperf-release Change-Id: I5a25eae29bbb2fed44fb0b8d3d65833627bb706d
This crate provides support for the Arm SMC Calling Convention version 1.4, including standard Arm Architecture Calls constants, and version 1.1 of the Arm Power State Coordination Interface (PSCI). It includes constants, functions to make the calls (on aarch64 targets), and error types.
Note that PSCI and other SMCCC 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.