rust-osdev / acpi

Rust library for parsing ACPI tables and interpreting AML
Apache License 2.0
203 stars 65 forks source link

aml: add extra debug info on parsing error #207

Closed rw-vanc closed 8 months ago

rw-vanc commented 9 months ago

Adds a more detailed error message that will print out the position in the buffer and a few bytes before and after the error.

Also fixes an unused argument warning in the test code.

IsaacWoods commented 8 months ago

Thanks!