fix boot on vmware

svn path=/trunk/; revision=15405
This commit is contained in:
Alex Ionescu 2005-05-19 01:58:24 +00:00
parent c6eb354e8b
commit f39cc83ebf

View file

@ -218,7 +218,7 @@ IopCreateDriverObject(
{
return Status;
}
Status = ObInsertObject(Object,
NULL,
FILE_ALL_ACCESS,
@ -229,7 +229,9 @@ IopCreateDriverObject(
{
return Status;
}
/* This function shouldn't be called twice for the same driver anyways..why is it? */
#if 0
if (Status == STATUS_OBJECT_EXISTS)
{
/* The driver object already exists, so it is already
@ -237,7 +239,7 @@ IopCreateDriverObject(
*DriverObject = Object;
return STATUS_SUCCESS;
}
#endif
/* Create driver extension */
Object->DriverExtension = (PDRIVER_EXTENSION)
ExAllocatePoolWithTag(