[SHELL32] SHChangeNotify: Add drive, remove drive (#6782)
[reactos.git] / drivers / base / kdcom / kdserial.c
index 2837900..35f311d 100644 (file)
@@ -3,14 +3,11 @@
  * PROJECT:         ReactOS kernel
  * FILE:            drivers/base/kddll/kdserial.c
  * PURPOSE:         Serial communication functions for the kernel debugger.
- * PROGRAMMER:      Timo Kreuzer (timo.kreuzer@ewactos.org)
+ * PROGRAMMER:      Timo Kreuzer (timo.kreuzer@reactos.org)
  */
 
 #include "kddll.h"
 
-#define NDEBUG
-#include <debug.h>
-
 /* FUNCTIONS ******************************************************************/
 
 /******************************************************************************
@@ -38,8 +35,8 @@ KdpSendBuffer(
  * \brief Receives data from the KD port and fills a buffer.
  * \param Buffer Pointer to a buffer that receives the data.
  * \param Size Size of data to receive in bytes.
- * \return KDP_PACKET_RECEIVED if successful. 
- *         KDP_PACKET_TIMEOUT if the receice timed out.
+ * \return KDP_PACKET_RECEIVED if successful.
+ *         KDP_PACKET_TIMEOUT if the receive timed out.
  */
 KDP_STATUS
 NTAPI
@@ -67,9 +64,9 @@ KdpReceiveBuffer(
 
 /******************************************************************************
  * \name KdpReceivePacketLeader
- * \brief Receives a packet leadr from the KD port.
+ * \brief Receives a packet leader from the KD port.
  * \param PacketLeader Pointer to an ULONG that receives the packet leader.
- * \return KDP_PACKET_RECEIVED if successful. 
+ * \return KDP_PACKET_RECEIVED if successful.
  *         KDP_PACKET_TIMEOUT if the receive timed out.
  *         KDP_PACKET_RESEND if a breakin byte was detected.
  */
@@ -141,7 +138,7 @@ KdpReceivePacketLeader(
     while (Index < 4);
 
     /* Enable the debugger */
-    KdDebuggerNotPresent = FALSE;
+    KD_DEBUGGER_NOT_PRESENT = FALSE;
     SharedUserData->KdDebuggerEnabled |= 0x00000002;
 
     /* Return the received packet leader */