This commit is contained in:
Baptiste Wicht 2016-07-23 17:23:42 +02:00
parent 842a913af0
commit bba38e340a

View File

@ -516,6 +516,8 @@ ACPI_STATUS AcpiOsWriteMemory(ACPI_PHYSICAL_ADDRESS Address, UINT64 value, UINT3
return rv;
}
// Interrupts
struct acpi_interrupt_context {
ACPI_OSD_HANDLER routine;
void* context;
@ -526,8 +528,6 @@ void acpi_interrupt_handler(interrupt::syscall_regs*, void* context){
acpi_context->routine(acpi_context->context);
}
// Interrupts
ACPI_STATUS AcpiOsInstallInterruptHandler(UINT32 irq, ACPI_OSD_HANDLER routine, void* context){
if (irq > 255){
return AE_BAD_PARAMETER;