Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
src/ | 25-Apr-2025 | - | 1,071 | 799 | ||
.cargo-checksum.json | D | 25-Apr-2025 | 1.5 KiB | 1 | 1 | |
AUTHORS | D | 25-Apr-2025 | 297 | 8 | 7 | |
Android.bp | D | 25-Apr-2025 | 1.3 KiB | 53 | 47 | |
CHANGELOG.md | D | 25-Apr-2025 | 940 | 43 | 24 | |
CONTRIBUTING.md | D | 25-Apr-2025 | 1.1 KiB | 27 | 18 | |
Cargo.toml | D | 25-Apr-2025 | 1 KiB | 38 | 34 | |
LICENSE | D | 25-Apr-2025 | 12.2 KiB | 230 | 189 | |
LICENSE-APACHE | D | 25-Apr-2025 | 11.1 KiB | 203 | 169 | |
LICENSE-MIT | D | 25-Apr-2025 | 1.1 KiB | 22 | 17 | |
METADATA | D | 25-Apr-2025 | 464 | 18 | 17 | |
MODULE_LICENSE_APACHE2 | D | 25-Apr-2025 | 0 | |||
README.md | D | 25-Apr-2025 | 1.2 KiB | 33 | 21 | |
TEST_MAPPING | D | 25-Apr-2025 | 73 | 8 | 7 | |
cargo_embargo.json | D | 25-Apr-2025 | 189 | 13 | 12 | |
rules.mk | D | 25-Apr-2025 | 566 | 18 | 11 | |
rust-toolchain.toml | D | 25-Apr-2025 | 47 | 3 | 2 |
README.md
1# SMCCC and PSCI functions for bare-metal Rust on aarch64 2 3[](https://crates.io/crates/smccc) 4[](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