[ros-diffs] [cgutman] 46239: - Don't acquire the mutex in the ISR handler because we're at a raised IRQL - Fixes VirtualBox Additions with ACPI enabled
cgutman at svn.reactos.org
cgutman at svn.reactos.org
Wed Mar 17 07:19:02 CET 2010
Author: cgutman
Date: Wed Mar 17 07:19:01 2010
New Revision: 46239
URL: http://svn.reactos.org/svn/reactos?rev=46239&view=rev
Log:
- Don't acquire the mutex in the ISR handler because we're at a raised IRQL
- Fixes VirtualBox Additions with ACPI enabled
Modified:
trunk/reactos/drivers/bus/acpi/acpica/events/evgpe.c
Modified: trunk/reactos/drivers/bus/acpi/acpica/events/evgpe.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/bus/acpi/acpica/events/evgpe.c?rev=46239&r1=46238&r2=46239&view=diff
==============================================================================
--- trunk/reactos/drivers/bus/acpi/acpica/events/evgpe.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/bus/acpi/acpica/events/evgpe.c [iso-8859-1] Wed Mar 17 07:19:01 2010
@@ -505,7 +505,7 @@
UINT8 EnabledStatusByte;
UINT32 StatusReg;
UINT32 EnableReg;
- ACPI_CPU_FLAGS Flags;
+ //ACPI_CPU_FLAGS Flags;
UINT32 i;
UINT32 j;
@@ -524,7 +524,7 @@
* Note: Not necessary to obtain the hardware lock, since the GPE
* registers are owned by the GpeLock.
*/
- Flags = AcpiOsAcquireLock (AcpiGbl_GpeLock);
+ //Flags = AcpiOsAcquireLock (AcpiGbl_GpeLock);
/* Examine all GPE blocks attached to this interrupt level */
@@ -596,7 +596,7 @@
UnlockAndExit:
- AcpiOsReleaseLock (AcpiGbl_GpeLock, Flags);
+ //AcpiOsReleaseLock (AcpiGbl_GpeLock, Flags);
return (IntStatus);
}
More information about the Ros-diffs
mailing list