[ros-diffs] [sginsberg] 44077: - Fix missing initialization of KdComPortInUse, containing the base address of the port used by kdcom. The serial driver checks this variable to determine if it can use the port or if it should stay (the fuck) off. KdCom no longer hangs after serial driver initialization in second stage.

sginsberg at svn.reactos.org sginsberg at svn.reactos.org
Tue Nov 10 15:23:44 CET 2009


Author: sginsberg
Date: Tue Nov 10 15:23:44 2009
New Revision: 44077

URL: http://svn.reactos.org/svn/reactos?rev=44077&view=rev
Log:
- Fix missing initialization of KdComPortInUse, containing the base address of the port used by kdcom. The serial driver checks this variable to determine if it can use the port or if it should stay (the fuck) off. KdCom no longer hangs after serial driver initialization in second stage.

Modified:
    trunk/reactos/drivers/base/kddll/kdcom.c

Modified: trunk/reactos/drivers/base/kddll/kdcom.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/base/kddll/kdcom.c?rev=44077&r1=44076&r2=44077&view=diff
==============================================================================
--- trunk/reactos/drivers/base/kddll/kdcom.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/base/kddll/kdcom.c [iso-8859-1] Tue Nov 10 15:23:44 2009
@@ -204,6 +204,7 @@
 
     /* Get base address */
     ComPortBase = UlongToPtr(BaseArray[ComPortNumber]);
+    KdComPortInUse = ComPortBase;
 
     /* Initialize the port */
     return KdpPortInitialize();




More information about the Ros-diffs mailing list