mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 04:13:33 +00:00
- Give "RAW" filesystem driver a name which it deserves.
svn path=/trunk/; revision=26934
This commit is contained in:
@@ -832,6 +832,7 @@ IopInitializeBootDrivers(VOID)
|
||||
PDRIVER_OBJECT DriverObject;
|
||||
LDR_DATA_TABLE_ENTRY ModuleObject;
|
||||
NTSTATUS Status;
|
||||
UNICODE_STRING DriverName;
|
||||
|
||||
/* Use IopRootDeviceNode for now */
|
||||
Status = IopCreateDeviceNode(IopRootDeviceNode, NULL, NULL, &DeviceNode);
|
||||
@@ -841,11 +842,12 @@ IopInitializeBootDrivers(VOID)
|
||||
ModuleObject.DllBase = NULL;
|
||||
ModuleObject.SizeOfImage = 0;
|
||||
ModuleObject.EntryPoint = RawFsDriverEntry;
|
||||
RtlInitUnicodeString(&DriverName, L"RAW");
|
||||
|
||||
/* Initialize it */
|
||||
Status = IopInitializeDriverModule(DeviceNode,
|
||||
&ModuleObject,
|
||||
&DeviceNode->ServiceName,
|
||||
&DriverName,
|
||||
TRUE,
|
||||
&DriverObject);
|
||||
if (!NT_SUCCESS(Status))
|
||||
@@ -1160,6 +1162,8 @@ try_again:
|
||||
(PVOID*)&DriverObject);
|
||||
if (!NT_SUCCESS(Status)) return Status;
|
||||
|
||||
DPRINT("IopCreateDriver(): created DO %p\n", DriverObject);
|
||||
|
||||
/* Set up the Object */
|
||||
RtlZeroMemory(DriverObject, ObjectSize);
|
||||
DriverObject->Type = IO_TYPE_DRIVER;
|
||||
|
||||
Reference in New Issue
Block a user