https://uefi.org/htmlspecs/ACPI_Spec_6_4_html/05_ACPI_Software_Programming_Model/ACPI_Software_Programming_Model.html?highlight=_pic#pic-method
It would help people using this library. Also, maybe we could add a higher level function with an enum for
0 – PIC mode
1 – APIC mode
2 – SAPIC mode
See #355. In my OS I was really confused why the AML interpreter was saying eHCI interrupts are [0x0] (and sometimes [0xE]), when it should've returned [0x10].
I will make a PR documenting this and adding a high level function, maybe something called set_interrupt_model_used(interrupt_model: InterruptModelUsed) on the AML interpreter.
https://uefi.org/htmlspecs/ACPI_Spec_6_4_html/05_ACPI_Software_Programming_Model/ACPI_Software_Programming_Model.html?highlight=_pic#pic-method
It would help people using this library. Also, maybe we could add a higher level function with an enum for
See #355. In my OS I was really confused why the AML interpreter was saying eHCI interrupts are [0x0] (and sometimes [0xE]), when it should've returned [0x10].
I will make a PR documenting this and adding a high level function, maybe something called
set_interrupt_model_used(interrupt_model: InterruptModelUsed)on the AML interpreter.