Clone this repo:
  1. fdf4316 Adopt Linux Foundation's guidance on copyrights by Sandrine Afsa · 2 weeks ago main
  2. 3535861 Apply Arm Trademark Guidance by Sandrine Afsa · 2 weeks ago
  3. 53eb2cd Remove security incident process by Sandrine Afsa · 2 weeks ago
  4. 574b1f1 Implement conversions between ErrorCode and u32/u64 by Imre Kis · 4 months ago 0.1.2
  5. 1828ef8 Prepare for 0.1.1 release by Imre Kis · 4 months ago 0.1.1

Arm Power State Coordination Interface (PSCI) library

This crate aims to offer functions and user-friendly types for parsing and constructing arguments of Arm Power State Coordination Interface (PSCI) calls. This functionality can be beneficial for both firmware and OS components.

However, doing the actual SMC/HVC/ERET calls, or implementing power management logic is beyond the scope of this crate.

Implemented features

  • Handling all PSCI 1.3 mandatory and optional functions
  • Handling both 32-bit and 64-bit call formats
  • Dedicated types for common PSCI call arguments
  • Unit tests

Limitations

  • The implementation does not handle pre-1.0 format suspend power state (see 5.4.2.1 Original format)

License

The project is MIT and Apache-2.0 dual licensed, see LICENSE-APACHE and LICENSE-MIT.

Maintainers

arm-psci is a trustedfirmware.org maintained project. All contributions are ultimately merged by the maintainers listed below.

Contributing

Please follow the directions of the Trusted Firmware Processes.

Contributions are handled through review.trustedfirmware.org.

Arm trademark notice

Arm is a registered trademark of Arm Limited (or its subsidiaries or affiliates).

This project uses some of the Arm product, service or technology trademarks, as listed in the Trademark List, in accordance with the Arm Trademark Use Guidelines.

Subsequent uses of these trademarks throughout this repository do not need to be prefixed with the Arm word trademark.


Copyright The arm-psci Contributors.