#aarch64 #arm #cortex-a #psci

no-std smccc

Functions and constants for the Arm SMC Calling Convention (SMCCC) 1.4 and Arm Power State Coordination Interface (PSCI) 1.1 on aarch64

2 releases

0.1.1 Apr 19, 2023
0.1.0 Apr 19, 2023

#1915 in Embedded development

Download history 131/week @ 2024-03-13 112/week @ 2024-03-20 75/week @ 2024-03-27 117/week @ 2024-04-03 165/week @ 2024-04-10 176/week @ 2024-04-17 154/week @ 2024-04-24 298/week @ 2024-05-01 163/week @ 2024-05-08 145/week @ 2024-05-15 150/week @ 2024-05-22 155/week @ 2024-05-29 200/week @ 2024-06-05 117/week @ 2024-06-12 102/week @ 2024-06-19 105/week @ 2024-06-26

547 downloads per month

MIT/Apache

35KB
799 lines

SMCCC and PSCI functions for bare-metal Rust on aarch64

crates.io page docs.rs page

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.

License

Licensed under either of

at your option.

Contributing

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

No runtime deps