#arm #aarch64 #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 aarch32 and aarch64

3 unstable releases

new 0.2.0 Mar 19, 2025
0.1.1 Apr 19, 2023
0.1.0 Apr 19, 2023

#1603 in Embedded development

Download history 235/week @ 2024-11-27 184/week @ 2024-12-04 370/week @ 2024-12-11 180/week @ 2024-12-18 43/week @ 2024-12-25 110/week @ 2025-01-01 197/week @ 2025-01-08 202/week @ 2025-01-15 117/week @ 2025-01-22 264/week @ 2025-01-29 190/week @ 2025-02-05 116/week @ 2025-02-12 232/week @ 2025-02-19 394/week @ 2025-02-26 134/week @ 2025-03-05 177/week @ 2025-03-12

954 downloads per month
Used in 2 crates

MIT/Apache

43KB
956 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 aarch32 and 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 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.

Dependencies

~225–660KB
~15K SLoC