PCHAR CommandLine, PerfMem;
ULONG PerfMemUsed;
PLDR_DATA_TABLE_ENTRY NtosEntry;
- PRTL_MESSAGE_RESOURCE_ENTRY MsgEntry;
+ PMESSAGE_RESOURCE_ENTRY MsgEntry;
ANSI_STRING CsdString;
SIZE_T Remaining = 0;
PCHAR RcEnd = NULL;
if (NT_SUCCESS(Status))
{
/* Setup the string */
- RtlInitAnsiString(&CsdString, MsgEntry->Text);
+ RtlInitAnsiString(&CsdString, (PCHAR)MsgEntry->Text);
/* Remove trailing newline */
while ((CsdString.Length > 0) &&
SharedUserData->ImageNumberHigh = IMAGE_FILE_MACHINE_ARCHITECTURE;
}
+extern BOOLEAN AllowPagedPool;
+
VOID
NTAPI
Phase1InitializationDiscard(IN PVOID Context)
LARGE_INTEGER SystemBootTime, UniversalBootTime, OldTime, Timeout;
BOOLEAN SosEnabled, NoGuiBoot, ResetBias = FALSE, AlternateShell = FALSE;
PLDR_DATA_TABLE_ENTRY NtosEntry;
- PRTL_MESSAGE_RESOURCE_ENTRY MsgEntry;
+ PMESSAGE_RESOURCE_ENTRY MsgEntry;
PCHAR CommandLine, Y2KHackRequired, SafeBoot, Environment;
PCHAR StringBuffer, EndBuffer, BeginBuffer, MpString = "";
PINIT_BUFFER InitBuffer;
/* Create the banner message */
Status = RtlStringCbPrintfA(EndBuffer,
Size,
- MsgEntry->Text,
+ (PCHAR)MsgEntry->Text,
StringBuffer,
NtBuildNumber & 0xFFFF,
BeginBuffer);
Status = RtlStringCbPrintfA(StringBuffer,
256,
NT_SUCCESS(MsgStatus) ?
- MsgEntry->Text :
+ (PCHAR)MsgEntry->Text :
"%u System Processor [%u MB Memory] %Z\n",
KeNumberProcessors,
Size,
if (NT_SUCCESS(Status))
{
/* Display it */
- InbvDisplayString(MsgEntry->Text);
+ InbvDisplayString((PCHAR)MsgEntry->Text);
}
}
}
if (NT_SUCCESS(Status))
{
/* Display it */
- InbvDisplayString(MsgEntry->Text);
+ InbvDisplayString((PCHAR)MsgEntry->Text);
}
/* Setup boot logging */
/* Update progress bar */
InbvUpdateProgressBar(90);
+ /* Enough fun for now */
+ AllowPagedPool = FALSE;
+
/* Launch initial process */
ProcessInfo = &InitBuffer->ProcessInfo;
ExpLoadInitialProcess(InitBuffer, &ProcessParameters, &Environment);