[ACPI]
authorCameron Gutman <aicommander@gmail.com>
Mon, 13 Aug 2012 07:00:32 +0000 (07:00 +0000)
committerCameron Gutman <aicommander@gmail.com>
Mon, 13 Aug 2012 07:00:32 +0000 (07:00 +0000)
- 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

svn path=/trunk/; revision=57067

reactos/drivers/bus/acpi/include/acpi_bus.h

index d2dc22d..c75f16a 100644 (file)
@@ -164,10 +164,10 @@ struct acpi_device_flags {
 
 /* 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];