- Issue a synchronous invalidate device relations request instead of asynchronous (eliminates the "can't open \SystemRoot\ bugcheck during 2nd stage startup)

- Comment out usbport/usbhub/etc from bootcd, they will be enabled once they don't crash and/or slow down system.

svn path=/trunk/; revision=24233
This commit is contained in:
Aleksey Bragin 2006-09-23 09:34:34 +00:00
parent cc70b77eca
commit e126931cb0
2 changed files with 14 additions and 5 deletions

View file

@ -265,10 +265,10 @@ drivers\network\dd\pcnet\pcnet.sys 2
drivers\storage\pciide\pciide.sys 2
drivers\storage\pciidex\pciidex.sys 2
drivers\usb\miniport\usbohci\usbohci.sys 2
drivers\usb\miniport\usbuhci\usbuhci.sys 2
drivers\usb\usbhub\usbhub.sys 2
drivers\usb\usbport\usbport.sys 2
;drivers\usb\miniport\usbohci\usbohci.sys 2
;drivers\usb\miniport\usbuhci\usbuhci.sys 2
;drivers\usb\usbhub\usbhub.sys 2
;drivers\usb\usbport\usbport.sys 2
drivers\video\displays\vga\vgaddi.dll 1
drivers\video\displays\framebuf\framebuf.dll 1

View file

@ -15,6 +15,15 @@
ULONG IopTraceLevel = IO_IRP_DEBUG;
// should go into a proper header
VOID
NTAPI
IoSynchronousInvalidateDeviceRelations(
IN PDEVICE_OBJECT DeviceObject,
IN DEVICE_RELATION_TYPE Type
);
/* DATA ********************************************************************/
POBJECT_TYPE IoDeviceObjectType = NULL;
@ -448,7 +457,7 @@ IoInit2(BOOLEAN BootLog)
/*
* Initialize PnP root releations
*/
IoInvalidateDeviceRelations(
IoSynchronousInvalidateDeviceRelations(
IopRootDeviceNode->PhysicalDeviceObject,
BusRelations);