commit | 3793238923b5b9a57623052085a7ce27cf666af8 | [log] [tgz] |
---|---|---|
author | James Farrell <[email protected]> | Fri Aug 30 03:38:56 2024 +0000 |
committer | Automerger Merge Worker <[email protected]> | Fri Aug 30 03:38:56 2024 +0000 |
tree | 67b22d76707217348655f42a920d1157e5576194 | |
parent | cce86eeb5d547d06287bed6048483f0bac593357 [diff] | |
parent | 2209d5b78be9668abf21fd73c20107733b21cdd2 [diff] |
Migrate 25 crates to monorepo. am: 2209d5b78b Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/smccc/+/3248842 Change-Id: I33d7b436fec4e1b43adb020dcc08ac40c1f52c81 Signed-off-by: Automerger Merge Worker <[email protected]>
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 the PSCI and SMCCC arch calls may be made via either HVC or SMC. You can choose which one to use by passing either Hvc
or Smc
as a type parameter to the relevant function.
This crate currently only supports aarch64 and the SMC64 versions of the PSCI 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.