/* PUBLIC FUNCTIONS ***********************************************************/
UCHAR
-IOReadB(ULONG Port)
+IOReadB(USHORT Port)
{
if (IoPortProc[Port].hVdd == INVALID_HANDLE_VALUE &&
IoPortProc[Port].IoHandlers.InB)
}
VOID
-IOReadStrB(ULONG Port,
+IOReadStrB(USHORT Port,
PUCHAR Buffer,
ULONG Count)
{
}
VOID
-IOWriteB(ULONG Port,
+IOWriteB(USHORT Port,
UCHAR Buffer)
{
if (IoPortProc[Port].hVdd == INVALID_HANDLE_VALUE &&
}
VOID
-IOWriteStrB(ULONG Port,
+IOWriteStrB(USHORT Port,
PUCHAR Buffer,
ULONG Count)
{
}
USHORT
-IOReadW(ULONG Port)
+IOReadW(USHORT Port)
{
if (IoPortProc[Port].hVdd == INVALID_HANDLE_VALUE &&
IoPortProc[Port].IoHandlers.InW)
}
VOID
-IOReadStrW(ULONG Port,
+IOReadStrW(USHORT Port,
PUSHORT Buffer,
ULONG Count)
{
}
VOID
-IOWriteW(ULONG Port,
+IOWriteW(USHORT Port,
USHORT Buffer)
{
if (IoPortProc[Port].hVdd == INVALID_HANDLE_VALUE &&
}
VOID
-IOWriteStrW(ULONG Port,
+IOWriteStrW(USHORT Port,
PUSHORT Buffer,
ULONG Count)
{
}
ULONG
-IOReadD(ULONG Port)
+IOReadD(USHORT Port)
{
if (IoPortProc[Port].hVdd == INVALID_HANDLE_VALUE &&
IoPortProc[Port].IoHandlers.InD)
}
VOID
-IOReadStrD(ULONG Port,
+IOReadStrD(USHORT Port,
PULONG Buffer,
ULONG Count)
{
}
VOID
-IOWriteD(ULONG Port,
+IOWriteD(USHORT Port,
ULONG Buffer)
{
if (IoPortProc[Port].hVdd == INVALID_HANDLE_VALUE &&
}
VOID
-IOWriteStrD(ULONG Port,
+IOWriteStrD(USHORT Port,
PULONG Buffer,
ULONG Count)
{
}
-VOID RegisterIoPort(ULONG Port,
+VOID RegisterIoPort(USHORT Port,
EMULATOR_INB_PROC InHandler,
EMULATOR_OUTB_PROC OutHandler)
{
IoPortProc[Port].hVdd = INVALID_HANDLE_VALUE;
}
-VOID UnregisterIoPort(ULONG Port)
+VOID UnregisterIoPort(USHORT Port)
{
/*
* Put automagically all the fields to zero:
VOID WINAPI
EmulatorReadIo(PFAST486_STATE State,
- ULONG Port,
+ USHORT Port,
PVOID Buffer,
ULONG DataCount,
UCHAR DataSize)
VOID WINAPI
EmulatorWriteIo(PFAST486_STATE State,
- ULONG Port,
+ USHORT Port,
PVOID Buffer,
ULONG DataCount,
UCHAR DataSize)