[ros-diffs] [ion] 13268: Set up ACPI Interrupt data before creating
the interrupt,
to fix case where interrupt is being called as soon as it's being set
up, before the data is set. Patch by tinus. Fixes bug 472
ion at svn.reactos.com
ion at svn.reactos.com
Tue Jan 25 06:38:02 CET 2005
Set up ACPI Interrupt data before creating the interrupt, to fix case
where interrupt is being called as soon as it's being set up, before the
data is set. Patch by tinus. Fixes bug 472
Modified: trunk/reactos/drivers/bus/acpi/ospm/osl.c
_____
Modified: trunk/reactos/drivers/bus/acpi/ospm/osl.c
--- trunk/reactos/drivers/bus/acpi/ospm/osl.c 2005-01-25 05:11:17 UTC
(rev 13267)
+++ trunk/reactos/drivers/bus/acpi/ospm/osl.c 2005-01-25 05:38:01 UTC
(rev 13268)
@@ -219,6 +219,11 @@
&DIrql,
&Affinity);
+ AcpiIrqNumber = irq;
+ AcpiIrqHandler = handler;
+ AcpiIrqContext = context;
+ AcpiInterruptHandlerRegistered = TRUE;
+
Status = IoConnectInterrupt(
&AcpiInterrupt,
OslIsrStub,
@@ -236,11 +241,6 @@
return AE_ERROR;
}
- AcpiIrqNumber = irq;
- AcpiIrqHandler = handler;
- AcpiIrqContext = context;
- AcpiInterruptHandlerRegistered = TRUE;
-
return AE_OK;
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050125/e4916499/attachment.html
More information about the Ros-diffs
mailing list