Author: hbelusca
Date: Sun May 5 21:23:20 2013
New Revision: 58957
URL:
http://svn.reactos.org/svn/reactos?rev=58957&view=rev
Log:
[KDROSDBG]
Comment that part too, because it was in KdPortInitialize and here, it reported an invalid
port. KdPortInUse is initialized by KDBG.
Modified:
branches/kd++/drivers/base/kdrosdbg/i386/kdbg.c
branches/kd++/drivers/base/kdrosdbg/kdrosdbg.spec
Modified: branches/kd++/drivers/base/kdrosdbg/i386/kdbg.c
URL:
http://svn.reactos.org/svn/reactos/branches/kd%2B%2B/drivers/base/kdrosdbg/…
==============================================================================
--- branches/kd++/drivers/base/kdrosdbg/i386/kdbg.c [iso-8859-1] (original)
+++ branches/kd++/drivers/base/kdrosdbg/i386/kdbg.c [iso-8859-1] Sun May 5 21:23:20 2013
@@ -92,7 +92,7 @@
/* 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 @@
HalDisplayString(buffer);
#endif /* NDEBUG */
+#if 0
/* set global info */
KdComPortInUse = (PUCHAR)DefaultPort.BaseAddress;
+#endif
return TRUE;
}
Modified: branches/kd++/drivers/base/kdrosdbg/kdrosdbg.spec
URL:
http://svn.reactos.org/svn/reactos/branches/kd%2B%2B/drivers/base/kdrosdbg/…
==============================================================================
--- branches/kd++/drivers/base/kdrosdbg/kdrosdbg.spec [iso-8859-1] (original)
+++ branches/kd++/drivers/base/kdrosdbg/kdrosdbg.spec [iso-8859-1] Sun May 5 21:23:20
2013
@@ -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 KdPortInitializeEx(ptr long long)
@ stdcall KdPortGetByteEx(ptr ptr)
-@ stdcall KdPortInitializeEx(ptr long long)
@ stdcall KdPortPutByteEx(ptr long)