/* Current Port in use. FIXME: Do we support more then one? */
ULONG KdpPort;
+/* If serial debugging is enabled, is pointing to the UART base address. */
+PUCHAR *KdComPortInUse;
/* DEBUG LOG FUNCTIONS *******************************************************/
if (BootPhase == 0)
{
+ KdComPortInUse = NULL;
+
/* Write out the functions that we support for now */
DispatchTable->KdpInitRoutine = KdpInitDebugLog;
DispatchTable->KdpPrintRoutine = KdpPrintToLog;
KdpDebugMode.Serial = FALSE;
return;
}
+ KdComPortInUse = (PUCHAR*)&SerialPortInfo.BaseAddress;
/* Register as a Provider */
InsertTailList(&KdProviders, &DispatchTable->KdProvidersList);
+
+ /* Display separator + ReactOS version at start of the debug log */
+ DPRINT1("---------------------------------------------------------------\n");
+ DPRINT1("ReactOS "KERNEL_VERSION_STR" (Build "KERNEL_VERSION_BUILD_STR")\n");
}
else if (BootPhase == 2)
{