commit | f339508ca107f2d824548d1a34e515d8fbd9fdd1 | [log] [tgz] |
---|---|---|
author | Andrew Walbran <[email protected]> | Wed May 10 09:31:16 2023 +0000 |
committer | Andrew Walbran <[email protected]> | Tue May 30 11:30:18 2023 +0000 |
tree | 87fa9cb85f2b085c42aa0598ddfa0ac75b1c8a18 | |
parent | 0468cef0e9296a449e2513b28f086c0172842334 [diff] |
Initial import. Bug: 284386483 Test: atest smccc_test_src_lib Change-Id: I3ac6d3d27cf396864dc00c845b135f447e6933a2
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.