Author: hbelusca Date: Sat Feb 21 01:25:47 2015 New Revision: 66378
URL: http://svn.reactos.org/svn/reactos?rev=66378&view=rev Log: [NTOS] - Mispelling + whitespace fixes. - Move the finalization of the boot logo display *before* we enable strings to be displayed (as on Windows), but *after* having increased the progress bar to 100% (contrary to Windows), so that we can display the progress bar at 100% without any problem and then do the correct transition: * either GUI splash-screen --> text-mode emulation console with product name in console header + footer (aka. SOS mode) * or SOS mode --> text-mode emulation without any graphics. Since it is done before starting SMSS, we can correctly display the strings it may output (or start other native apps) without fearing that after 5 seconds, the screen clears up in front of you. CORE-9112 #resolve #comment Fixed in r66378, thanks for reporting!
Modified: trunk/reactos/ntoskrnl/ex/init.c trunk/reactos/ntoskrnl/ke/config.c trunk/reactos/ntoskrnl/lpc/close.c
Modified: trunk/reactos/ntoskrnl/ex/init.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ex/init.c?rev=6637... ============================================================================== --- trunk/reactos/ntoskrnl/ex/init.c [iso-8859-1] (original) +++ trunk/reactos/ntoskrnl/ex/init.c [iso-8859-1] Sat Feb 21 01:25:47 2015 @@ -526,7 +526,7 @@ (USHORT)Size);
/* Append the DLL path to it */ - RtlAppendUnicodeToString(&Environment, L"Path=" ); + RtlAppendUnicodeToString(&Environment, L"Path="); RtlAppendUnicodeStringToString(&Environment, &ProcessParams->DllPath); RtlAppendUnicodeStringToString(&Environment, &NullString);
@@ -1956,6 +1956,9 @@ /* Update progress bar */ InbvUpdateProgressBar(100);
+ /* Clear the screen */ + if (InbvBootDriverInstalled) FinalizeBootLogo(); + /* Allow strings to be displayed */ InbvEnableDisplayString(TRUE);
@@ -1994,9 +1997,6 @@ &Size, MEM_RELEASE);
- /* Clean the screen */ - if (InbvBootDriverInstalled) FinalizeBootLogo(); - /* Increase init phase */ ExpInitializationPhase++;
Modified: trunk/reactos/ntoskrnl/ke/config.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ke/config.c?rev=66... ============================================================================== --- trunk/reactos/ntoskrnl/ke/config.c [iso-8859-1] (original) +++ trunk/reactos/ntoskrnl/ke/config.c [iso-8859-1] Sat Feb 21 01:25:47 2015 @@ -122,6 +122,6 @@ Child = Child->Child; }
- /* If we got here, nothign was found */ + /* If we got here, nothing was found */ return NULL; }
Modified: trunk/reactos/ntoskrnl/lpc/close.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/lpc/close.c?rev=66... ============================================================================== --- trunk/reactos/ntoskrnl/lpc/close.c [iso-8859-1] (original) +++ trunk/reactos/ntoskrnl/lpc/close.c [iso-8859-1] Sat Feb 21 01:25:47 2015 @@ -439,7 +439,7 @@ KeReleaseGuardedMutex(&LpcpLock); }
- /* Check if this is a connection port with a server process*/ + /* Check if this is a connection port with a server process */ if (((Port->Flags & LPCP_PORT_TYPE_MASK) == LPCP_CONNECTION_PORT) && (ConnectionPort->ServerProcess)) {