rust-osdev/acpi

aml_tester: Real-world AML sometimes causes panic due to use of handler

rw-vanc opened this issue · 1 comments

Real-world AML can cause handler.read_u16, which is unimplemented and therefore causes aml_tester to panic. I'm not sure what the correct solution is, but perhaps just print a message and return 0?

👍 Yep, this would almost definitely be better. Writes should probably also log but be no-ops.