Author: hbelusca
Date: Mon Oct 14 20:50:44 2013
New Revision: 60674
URL:
http://svn.reactos.org/svn/reactos?rev=60674&view=rev
Log:
[NTOS:INBV]: Fix parameter name and type.
Modified:
trunk/reactos/ntoskrnl/inbv/inbvport.c
trunk/reactos/ntoskrnl/include/internal/inbv.h
Modified: trunk/reactos/ntoskrnl/inbv/inbvport.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/inbv/inbvport.c?r…
==============================================================================
--- trunk/reactos/ntoskrnl/inbv/inbvport.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/inbv/inbvport.c [iso-8859-1] Mon Oct 14 20:50:44 2013
@@ -35,11 +35,20 @@
BOOLEAN
NTAPI
-InbvPortGetByte(IN ULONG PortId,
- OUT PUCHAR Char)
+InbvPortGetByte(IN ULONG PortId,
+ OUT PUCHAR Byte)
{
/* Read a byte from the port */
- return CpGetByte(&Port[PortId], Char, TRUE, FALSE) == CP_GET_SUCCESS;
+ return CpGetByte(&Port[PortId], Byte, TRUE, FALSE) == CP_GET_SUCCESS;
+}
+
+VOID
+NTAPI
+InbvPortPutByte(IN ULONG PortId,
+ IN UCHAR Byte)
+{
+ /* Send the byte */
+ CpPutByte(&Port[PortId], Byte);
}
VOID
@@ -49,15 +58,6 @@
{
/* Set FIFO as requested */
CpEnableFifo(Port[PortId].Address, Enable);
-}
-
-VOID
-NTAPI
-InbvPortPutByte(IN ULONG PortId,
- IN BOOLEAN Output)
-{
- /* Send the byte */
- CpPutByte(&Port[PortId], Output);
}
VOID
Modified: trunk/reactos/ntoskrnl/include/internal/inbv.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/include/internal/…
==============================================================================
--- trunk/reactos/ntoskrnl/include/internal/inbv.h [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/include/internal/inbv.h [iso-8859-1] Mon Oct 14 20:50:44 2013
@@ -84,11 +84,18 @@
IN BOOLEAN Enable
);
+BOOLEAN
+NTAPI
+InbvPortGetByte(
+ IN ULONG PortId,
+ OUT PUCHAR Byte
+);
+
VOID
NTAPI
InbvPortPutByte(
IN ULONG PortId,
- IN BOOLEAN Output
+ IN UCHAR Byte
);
VOID
@@ -113,11 +120,4 @@
IN ULONG PortId
);
-BOOLEAN
-NTAPI
-InbvPortGetByte(
- IN ULONG PortId,
- OUT PUCHAR Char
-);
-
extern BOOLEAN InbvBootDriverInstalled;