Update to version 0.1.1. am: 22f4f77926 am: a312d59307 am: 2933935947

Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/psci/+/2242155

Change-Id: I19e707274c96e06f3ae2b3bf3ad30c8dcc2781d3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
tree: 76832451701d31ab2eed2f4acbbc0eb90c5ec279
  1. .github/
  2. src/
  3. .cargo_vcs_info.json
  4. .gitignore
  5. Android.bp
  6. AUTHORS
  7. Cargo.toml
  8. Cargo.toml.orig
  9. CONTRIBUTING.md
  10. LICENSE
  11. LICENSE-APACHE
  12. LICENSE-MIT
  13. METADATA
  14. MODULE_LICENSE_APACHE2
  15. OWNERS
  16. README.md
  17. rust-toolchain.toml
README.md

PSCI functions for bare-metal Rust on aarch64

crates.io page docs.rs page

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.

License

Licensed under either of

at your option.

Contributing

If you want to contribute to the project, see details of how we accept contributions.