mirror of
https://github.com/wichtounet/thor-os.git
synced 2025-09-14 23:16:55 -04:00
Cleanup
This commit is contained in:
parent
842a913af0
commit
bba38e340a
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user