Author: cgutman
Date: Mon Aug 13 07:00:32 2012
New Revision: 57067
URL: http://svn.reactos.org/svn/reactos?rev=57067&view=rev
Log:
[ACPI]
- Increase the size of the ID buffers to fit certain non-standard IDs reported by Hyper-V on Windows 8. These should be allocated from pool, but this code really sucks and should be replaced anyway.
- Fixes buffer overflow causing a bug check during boot on Hyper-V
Modified:
trunk/reactos/drivers/bus/acpi/include/acpi_bus.h
Modified: trunk/reactos/drivers/bus/acpi/include/acpi_bus.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/bus/acpi/include/a…
==============================================================================
--- trunk/reactos/drivers/bus/acpi/include/acpi_bus.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/bus/acpi/include/acpi_bus.h [iso-8859-1] Mon Aug 13 07:00:32 2012
@@ -164,10 +164,10 @@
/* Plug and Play */
-typedef char acpi_bus_id[8];
+typedef char acpi_bus_id[20];
typedef unsigned long acpi_bus_address;
-typedef char acpi_hardware_id[9];
-typedef char acpi_unique_id[9];
+typedef char acpi_hardware_id[20];
+typedef char acpi_unique_id[20];
typedef char acpi_device_name[40];
typedef char acpi_device_class[20];
Author: cgutman
Date: Mon Aug 13 00:31:27 2012
New Revision: 57064
URL: http://svn.reactos.org/svn/reactos?rev=57064&view=rev
Log:
[SCSIPORT]
- Fix a critical bug in interrupt sharing between scsiport miniports and other drivers which caused scsiport to mask the interrupts from other devices sitting behind it
- This commit and r57063 fixes bug 7231
Modified:
trunk/reactos/drivers/storage/scsiport/scsiport.c
Modified: trunk/reactos/drivers/storage/scsiport/scsiport.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/storage/scsiport/s…
==============================================================================
--- trunk/reactos/drivers/storage/scsiport/scsiport.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/storage/scsiport/scsiport.c [iso-8859-1] Mon Aug 13 00:31:27 2012
@@ -4585,7 +4585,11 @@
return FALSE;
/* Call miniport's HwInterrupt routine */
- DeviceExtension->HwInterrupt(&DeviceExtension->MiniPortDeviceExtension);
+ if (DeviceExtension->HwInterrupt(&DeviceExtension->MiniPortDeviceExtension) == FALSE)
+ {
+ /* This interrupt doesn't belong to us */
+ return FALSE;
+ }
/* If flag of notification is set - queue a DPC */
if (DeviceExtension->InterruptData.Flags & SCSI_PORT_NOTIFICATION_NEEDED)