mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 12:02:02 +00:00
[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:
parent
a5a6940af8
commit
4a58e37b7c
1 changed files with 7 additions and 7 deletions
|
@ -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++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue