[NTSOKRNL]

add a comment so that noone will stumble upon this atrocity a second time.

svn path=/trunk/; revision=50084
This commit is contained in:
Timo Kreuzer 2010-12-21 21:48:29 +00:00
parent a5a6940af8
commit 4a58e37b7c

View file

@ -191,7 +191,7 @@ IopSuffixUnicodeString(
* Display 'Loading XXX...' message.
*/
VOID
VOID
FASTCALL
INIT_FUNCTION
IopDisplayLoadingMessage(PUNICODE_STRING ServiceName)
@ -993,7 +993,7 @@ IopInitializeBootDrivers(VOID)
&BootEntry->RegistryPath,
KEY_READ);
if ((NT_SUCCESS(Status)) || /* ReactOS HACK for SETUPLDR */
((KeLoaderBlock->SetupLdrBlock) && ((KeyHandle = (PVOID)1))))
((KeLoaderBlock->SetupLdrBlock) && ((KeyHandle = (PVOID)1)))) // yes, it's an assignment!
{
/* Save the handle */
DriverInfo->ServiceHandle = KeyHandle;
@ -1068,24 +1068,24 @@ INIT_FUNCTION
IopInitializeSystemDrivers(VOID)
{
PUNICODE_STRING *DriverList, *SavedList;
/* No system drivers on the boot cd */
if (KeLoaderBlock->SetupLdrBlock) return;
/* Get the driver list */
SavedList = DriverList = CmGetSystemDriverList();
ASSERT(DriverList);
/* Loop it */
while (*DriverList)
{
/* Load the driver */
ZwLoadDriver(*DriverList);
/* Free the entry */
RtlFreeUnicodeString(*DriverList);
ExFreePool(*DriverList);
/* Next entry */
InbvIndicateProgress();
DriverList++;