[KDROSDBG]

Comment that part too, because it was in KdPortInitialize and here, it reported an invalid port. KdPortInUse is initialized by KDBG.

svn path=/branches/kd++/; revision=58957
This commit is contained in:
Hermès Bélusca-Maïto 2013-05-05 21:23:20 +00:00
parent 2a95385332
commit dff2ca4ea0
2 changed files with 12 additions and 10 deletions

View file

@ -92,7 +92,7 @@ const ULONG BaseArray[] = {0, 0xF1012000};
/* STATIC VARIABLES *********************************************************/
static KD_PORT_INFORMATION DefaultPort = { 0, 0, 0 };
// static KD_PORT_INFORMATION DefaultPort = { 0, 0, 0 };
/* The com port must only be initialized once! */
// static BOOLEAN PortInitialized = FALSE;
@ -221,8 +221,10 @@ KdPortInitializeEx(
HalDisplayString(buffer);
#endif /* NDEBUG */
#if 0
/* set global info */
KdComPortInUse = (PUCHAR)DefaultPort.BaseAddress;
#endif
return TRUE;
}

View file

@ -1,13 +1,13 @@
@ stdcall KdD0Transition()
@ stdcall KdD3Transition()
@ stdcall KdDebuggerInitialize0(ptr)
@ stdcall KdDebuggerInitialize1(ptr)
@ stdcall KdReceivePacket(long ptr ptr ptr ptr)
@ stdcall KdRestore(long)
@ stdcall KdSave(long)
@ stdcall KdSendPacket(long ptr ptr ptr)
1 stdcall KdD0Transition()
2 stdcall KdD3Transition()
3 stdcall KdDebuggerInitialize0(ptr)
4 stdcall KdDebuggerInitialize1(ptr)
5 stdcall KdReceivePacket(long ptr ptr ptr ptr)
6 stdcall KdRestore(long)
7 stdcall KdSave(long)
8 stdcall KdSendPacket(long ptr ptr ptr)
; Legacy KD
@ stdcall KdPortGetByteEx(ptr ptr)
@ stdcall KdPortInitializeEx(ptr long long)
@ stdcall KdPortGetByteEx(ptr ptr)
@ stdcall KdPortPutByteEx(ptr long)