[KDROSDBG]
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sun, 5 May 2013 19:36:05 +0000 (19:36 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sun, 5 May 2013 19:36:05 +0000 (19:36 +0000)
Remove further legacy exports (the aim is to obtain at least the same exports as kdcom).

svn path=/branches/kd++/; revision=58950

drivers/base/kdrosdbg/arm/kdbg.c
drivers/base/kdrosdbg/i386/kdbg.c
drivers/base/kdrosdbg/kdrosdbg.spec
ntoskrnl/include/internal/kd.h

index 6acb493..9709d6b 100644 (file)
@@ -113,6 +113,7 @@ KdPortGetByteEx(IN PKD_PORT_INFORMATION PortInformation,
     return FALSE;
 }
 
+#if 0
 BOOLEAN
 NTAPI
 KdPortGetByte(OUT PUCHAR ByteReceived)
@@ -142,6 +143,7 @@ KdPortPollByte(OUT PUCHAR ByteReceived)
     //
     return KdPortPollByteEx(&DefaultPort, ByteReceived);
 }
+#endif
 
 VOID
 NTAPI
index a58989e..94be3a5 100644 (file)
@@ -268,18 +268,6 @@ KdPortInitializeEx(
 }
 
 
-/* HAL.KdPortGetByte */
-BOOLEAN
-NTAPI
-KdPortGetByte(
-    OUT PUCHAR ByteReceived)
-{
-    if (!PortInitialized)
-        return FALSE;
-    return KdPortGetByteEx(&DefaultPort, ByteReceived);
-}
-
-
 /* HAL.KdPortGetByteEx ; ReactOS-specific */
 BOOLEAN
 NTAPI
@@ -298,6 +286,17 @@ KdPortGetByteEx(
     return FALSE;
 }
 
+#if 0
+/* HAL.KdPortGetByte */
+BOOLEAN
+NTAPI
+KdPortGetByte(
+    OUT PUCHAR ByteReceived)
+{
+    if (!PortInitialized)
+        return FALSE;
+    return KdPortGetByteEx(&DefaultPort, ByteReceived);
+}
 
 /* HAL.KdPortPollByte */
 BOOLEAN
@@ -327,7 +326,7 @@ KdPortPollByteEx(
 
     return TRUE;
 }
-
+#endif
 
 /* HAL.KdPortPutByte */
 VOID
index c893a5e..ca56732 100644 (file)
@@ -1,10 +1,10 @@
 ; Old KD
-@ stdcall KdPortGetByte(ptr)
+;;@ stdcall KdPortGetByte(ptr)
 @ stdcall KdPortGetByteEx(ptr ptr)
 @ stdcall KdPortInitialize(ptr long long)
 @ stdcall KdPortInitializeEx(ptr long long)
-@ stdcall KdPortPollByte(ptr)
-@ stdcall KdPortPollByteEx(ptr ptr)
+;;@ stdcall KdPortPollByte(ptr)
+;;@ stdcall KdPortPollByteEx(ptr ptr)
 @ stdcall KdPortPutByte(long)
 @ stdcall KdPortPutByteEx(ptr long)
 
index 9e2d436..c6e3e6b 100644 (file)
@@ -39,10 +39,12 @@ KdPortInitializeEx(
     ULONG Unknown2
 );
 
+#if 0
 BOOLEAN
 NTAPI
 KdPortGetByte(
     PUCHAR ByteReceived);
+#endif
 
 BOOLEAN
 NTAPI