mirror of
https://github.com/reactos/reactos.git
synced 2024-10-05 08:54:40 +00:00
Tempary fixing kbdclass and mouse class u can not call on IoDeleteDevice before disabler the keyboard or mouse driver other wise it will bsod at shoutdown of ReactOS, create the frist boot problem. that we have seen on BootCD; Hpoussin I have comment out iodevice for now, please look at it when u got time.
svn path=/trunk/; revision=23068
This commit is contained in:
parent
78874d1548
commit
64e3f510fe
|
@ -126,7 +126,7 @@ ClassDeviceControl(
|
|||
PLIST_ENTRY Head = &((PCLASS_DEVICE_EXTENSION)DeviceObject->DeviceExtension)->ListHead;
|
||||
if (Head->Flink != Head)
|
||||
{
|
||||
/* We have at least one device */
|
||||
/* We have at least one keyboard */
|
||||
PPORT_DEVICE_EXTENSION DevExt = CONTAINING_RECORD(Head->Flink, PORT_DEVICE_EXTENSION, ListEntry);
|
||||
IoGetCurrentIrpStackLocation(Irp)->MajorFunction = IRP_MJ_INTERNAL_DEVICE_CONTROL;
|
||||
IoSkipCurrentIrpStackLocation(Irp);
|
||||
|
@ -711,7 +711,8 @@ cleanup:
|
|||
PCLASS_DEVICE_EXTENSION ClassDeviceExtension;
|
||||
ClassDeviceExtension = (PCLASS_DEVICE_EXTENSION)DeviceExtension->ClassDO->DeviceExtension;
|
||||
ExFreePool(ClassDeviceExtension->PortData);
|
||||
IoDeleteDevice(DeviceExtension->ClassDO);
|
||||
/* FIXME BSOD for second boot when u press on finsih buttom or wait timeout */
|
||||
//IoDeleteDevice(DeviceExtension->ClassDO);
|
||||
}
|
||||
}
|
||||
if (Fdo)
|
||||
|
|
|
@ -123,7 +123,7 @@ ClassDeviceControl(
|
|||
PLIST_ENTRY Head = &((PCLASS_DEVICE_EXTENSION)DeviceObject->DeviceExtension)->ListHead;
|
||||
if (Head->Flink != Head)
|
||||
{
|
||||
/* We have at least one device */
|
||||
/* We have at least one mouse */
|
||||
PPORT_DEVICE_EXTENSION DevExt = CONTAINING_RECORD(Head->Flink, PORT_DEVICE_EXTENSION, ListEntry);
|
||||
IoGetCurrentIrpStackLocation(Irp)->MajorFunction = IRP_MJ_INTERNAL_DEVICE_CONTROL;
|
||||
IoSkipCurrentIrpStackLocation(Irp);
|
||||
|
@ -687,7 +687,8 @@ cleanup:
|
|||
PCLASS_DEVICE_EXTENSION ClassDeviceExtension;
|
||||
ClassDeviceExtension = (PCLASS_DEVICE_EXTENSION)DeviceExtension->ClassDO->DeviceExtension;
|
||||
ExFreePool(ClassDeviceExtension->PortData);
|
||||
IoDeleteDevice(DeviceExtension->ClassDO);
|
||||
/* FIXME BSOD for second boot when u press on finsih buttom or wait timeout */
|
||||
// IoDeleteDevice(DeviceExtension->ClassDO);
|
||||
}
|
||||
}
|
||||
if (Fdo)
|
||||
|
|
Loading…
Reference in a new issue