#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

#1961 in Embedded development

Download history 85/week @ 2024-07-25 90/week @ 2024-08-01 111/week @ 2024-08-08 180/week @ 2024-08-15 260/week @ 2024-08-22 217/week @ 2024-08-29 322/week @ 2024-09-05 142/week @ 2024-09-12 168/week @ 2024-09-19 116/week @ 2024-09-26 190/week @ 2024-10-03 418/week @ 2024-10-10 470/week @ 2024-10-17 228/week @ 2024-10-24 144/week @ 2024-10-31 216/week @ 2024-11-07

1,170 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