In Advanced Configuration and Power Interface (ACPI), you can control devices power and manage them, including shutdown and other power related events.
Before this PR, we could not get ACPI events, such as, user pressing "power off" button, now we can, but we just receive the interrupt, we still need to implement shutdown behavior
Related issue
Towards #38
Changes
Finish handling for InterruptSourceOverride in APIC interrupts, the previous implementation was ignoring the flags field.
Enable ACPI interrupts and took ACPI registers ownership
Checklist
[x] The changes are tested and works as expected (mention if not)
[ ] Tests if applicable (new features, regression tests, etc...)
Summary
In Advanced Configuration and Power Interface (ACPI), you can control devices power and manage them, including shutdown and other power related events. Before this PR, we could not get ACPI events, such as, user pressing "power off" button, now we can, but we just receive the interrupt, we still need to implement shutdown behavior
Related issue
Towards #38
Changes
InterruptSourceOverride
in APIC interrupts, the previous implementation was ignoring theflags
field.Checklist