6 releases (breaking)

new 0.9.0 Sep 15, 2020
0.8.0 Apr 3, 2020
0.7.0 Feb 21, 2020
0.6.0 Feb 2, 2020
0.4.0 Aug 12, 2019

#113 in Hardware support

Download history 146/week @ 2020-05-28 36/week @ 2020-06-04 259/week @ 2020-06-11 11/week @ 2020-06-18 218/week @ 2020-06-25 145/week @ 2020-07-02 92/week @ 2020-07-09 2/week @ 2020-07-16 33/week @ 2020-07-23 6/week @ 2020-07-30 16/week @ 2020-08-06 10/week @ 2020-08-13 37/week @ 2020-08-20 8/week @ 2020-08-27 26/week @ 2020-09-03 14/week @ 2020-09-10

202 downloads per month

MIT/Apache

175KB
3.5K SLoC

Acpi

Build Status Version

Documentation (acpi)

Documentation (aml)

A library to parse ACPI tables and AML, written in pure Rust. Designed to be easy to use from Rust bootloaders and kernels. The library is split into two crates:

  • acpi parses the static tables (useful but not feature-complete)
  • aml parses the AML tables (can be useful, far from feature-complete)

There is also the acpi-dumper utility to easily dump a platform's ACPI tables (this currently only works on Linux).

Contributing

Contributions are more than welcome! You can:

  • Write code - the ACPI spec is huge and there are bound to be things we don't support yet!
  • Improve our documentation!
  • Use the crates within your kernel and file bug reports and feature requests!

Useful resources for contributing are:

Licence

Acpi is dual-licenced under:

Unless you explicitly state otherwise, any contribution submitted for inclusion in this work by you, as defined in the Apache-2.0 licence, shall be dual licenced as above, without additional terms or conditions.

Dependencies

~230KB