mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-01 19:26:16 +00:00
I said "remove" !!
svn path=/branches/kd++/; revision=58951
This commit is contained in:
@@ -113,38 +113,6 @@ KdPortGetByteEx(IN PKD_PORT_INFORMATION PortInformation,
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
#if 0
|
||||
BOOLEAN
|
||||
NTAPI
|
||||
KdPortGetByte(OUT PUCHAR ByteReceived)
|
||||
{
|
||||
//
|
||||
// Call the extended version
|
||||
//
|
||||
return KdPortGetByteEx(&DefaultPort, ByteReceived);
|
||||
}
|
||||
|
||||
BOOLEAN
|
||||
NTAPI
|
||||
KdPortPollByteEx(IN PKD_PORT_INFORMATION PortInformation,
|
||||
OUT PUCHAR ByteReceived)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
while (TRUE);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
BOOLEAN
|
||||
NTAPI
|
||||
KdPortPollByte(OUT PUCHAR ByteReceived)
|
||||
{
|
||||
//
|
||||
// Call the extended version
|
||||
//
|
||||
return KdPortPollByteEx(&DefaultPort, ByteReceived);
|
||||
}
|
||||
#endif
|
||||
|
||||
VOID
|
||||
NTAPI
|
||||
KdPortPutByteEx(IN PKD_PORT_INFORMATION PortInformation,
|
||||
|
||||
@@ -286,48 +286,6 @@ KdPortGetByteEx(
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
#if 0
|
||||
/* HAL.KdPortGetByte */
|
||||
BOOLEAN
|
||||
NTAPI
|
||||
KdPortGetByte(
|
||||
OUT PUCHAR ByteReceived)
|
||||
{
|
||||
if (!PortInitialized)
|
||||
return FALSE;
|
||||
return KdPortGetByteEx(&DefaultPort, ByteReceived);
|
||||
}
|
||||
|
||||
/* HAL.KdPortPollByte */
|
||||
BOOLEAN
|
||||
NTAPI
|
||||
KdPortPollByte(
|
||||
OUT PUCHAR ByteReceived)
|
||||
{
|
||||
if (!PortInitialized)
|
||||
return FALSE;
|
||||
return KdPortPollByteEx(&DefaultPort, ByteReceived);
|
||||
}
|
||||
|
||||
|
||||
/* HAL.KdPortPollByteEx ; ReactOS-specific */
|
||||
BOOLEAN
|
||||
NTAPI
|
||||
KdPortPollByteEx(
|
||||
IN PKD_PORT_INFORMATION PortInformation,
|
||||
OUT PUCHAR ByteReceived)
|
||||
{
|
||||
PUCHAR ComPortBase = (PUCHAR)PortInformation->BaseAddress;
|
||||
|
||||
while ((READ_PORT_UCHAR(SER_LSR(ComPortBase)) & SR_LSR_DR) == 0)
|
||||
;
|
||||
|
||||
*ByteReceived = READ_PORT_UCHAR(SER_RBR(ComPortBase));
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
#endif
|
||||
|
||||
/* HAL.KdPortPutByte */
|
||||
VOID
|
||||
NTAPI
|
||||
|
||||
@@ -1,10 +1,7 @@
|
||||
; Old KD
|
||||
;;@ 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 KdPortPutByte(long)
|
||||
@ stdcall KdPortPutByteEx(ptr long)
|
||||
|
||||
|
||||
@@ -39,13 +39,6 @@ KdPortInitializeEx(
|
||||
ULONG Unknown2
|
||||
);
|
||||
|
||||
#if 0
|
||||
BOOLEAN
|
||||
NTAPI
|
||||
KdPortGetByte(
|
||||
PUCHAR ByteReceived);
|
||||
#endif
|
||||
|
||||
BOOLEAN
|
||||
NTAPI
|
||||
KdPortGetByteEx(
|
||||
|
||||
Reference in New Issue
Block a user