• Home
Name Date Size #Lines LOC

..--

.github/workflows/06-Sep-2024-3126

src/06-Sep-2024-1,071799

.cargo_vcs_info.jsonD06-Sep-202494 66

.gitignoreD06-Sep-202417 32

AUTHORSD06-Sep-2024297 87

Android.bpD06-Sep-2024971 3734

CHANGELOG.mdD06-Sep-2024940 4324

CONTRIBUTING.mdD06-Sep-20241.1 KiB2718

Cargo.tomlD06-Sep-20241 KiB3834

Cargo.toml.origD06-Sep-2024539 1613

LICENSED06-Sep-202412.2 KiB230189

LICENSE-APACHED06-Sep-202411.1 KiB203169

LICENSE-MITD06-Sep-20241.1 KiB2217

METADATAD06-Sep-2024543 2120

MODULE_LICENSE_APACHE2D06-Sep-20240

OWNERSD06-Sep-202445 21

README.mdD06-Sep-20241.2 KiB3321

cargo_embargo.jsonD06-Sep-2024161 1211

rust-toolchain.tomlD06-Sep-202447 32

README.md

1# SMCCC and PSCI functions for bare-metal Rust on aarch64
2
3[![crates.io page](https://img.shields.io/crates/v/smccc.svg)](https://crates.io/crates/smccc)
4[![docs.rs page](https://docs.rs/smccc/badge.svg)](https://docs.rs/smccc)
5
6This crate provides support for the Arm SMC Calling Convention version 1.4, including standard Arm
7Architecture Calls constants, and version 1.1 of the Arm Power State Coordination Interface (PSCI).
8It includes constants, functions to make the calls (on aarch64 targets), and error types.
9
10Note that the PSCI and SMCCC arch calls may be made via either HVC or SMC. You can choose which one
11to use by passing either `Hvc` or `Smc` as a type parameter to the relevant function.
12
13This crate currently only supports aarch64 and the SMC64 versions of the PSCI calls, in the cases
14that both SMC32 and SMC64 versions exist.
15
16This is not an officially supported Google product.
17
18## License
19
20Licensed under either of
21
22- Apache License, Version 2.0
23  ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
24- MIT license
25  ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
26
27at your option.
28
29## Contributing
30
31If you want to contribute to the project, see details of
32[how we accept contributions](CONTRIBUTING.md).
33