mirror of
https://github.com/reactos/reactos.git
synced 2026-06-02 17:31:23 +08:00
fix boot on vmware
svn path=/trunk/; revision=15405
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user