mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 03:54:02 +00:00
[FAST486][NTVDM]: Rename the last two IO functions parameters in the same way as some CSR functions (ElementCount == DataCount; ElementSize == DataSize).
svn path=/branches/ntvdm/; revision=60896
This commit is contained in:
parent
a106a3b21e
commit
ecd0b33743
3 changed files with 14 additions and 14 deletions
|
@ -185,8 +185,8 @@ VOID
|
|||
PFAST486_STATE State,
|
||||
ULONG Port,
|
||||
PVOID Buffer,
|
||||
ULONG Size,
|
||||
UCHAR Width
|
||||
ULONG DataCount,
|
||||
UCHAR DataSize
|
||||
);
|
||||
|
||||
typedef
|
||||
|
@ -196,8 +196,8 @@ VOID
|
|||
PFAST486_STATE State,
|
||||
ULONG Port,
|
||||
PVOID Buffer,
|
||||
ULONG Size,
|
||||
UCHAR Width
|
||||
ULONG DataCount,
|
||||
UCHAR DataSize
|
||||
);
|
||||
|
||||
typedef
|
||||
|
|
|
@ -146,24 +146,24 @@ Fast486MemWriteCallback(PFAST486_STATE State, ULONG Address, PVOID Buffer, ULONG
|
|||
|
||||
static VOID
|
||||
NTAPI
|
||||
Fast486IoReadCallback(PFAST486_STATE State, ULONG Port, PVOID Buffer, ULONG Size, UCHAR Width)
|
||||
Fast486IoReadCallback(PFAST486_STATE State, ULONG Port, PVOID Buffer, ULONG DataCount, UCHAR DataSize)
|
||||
{
|
||||
UNREFERENCED_PARAMETER(State);
|
||||
UNREFERENCED_PARAMETER(Port);
|
||||
UNREFERENCED_PARAMETER(Buffer);
|
||||
UNREFERENCED_PARAMETER(Size);
|
||||
UNREFERENCED_PARAMETER(Width);
|
||||
UNREFERENCED_PARAMETER(DataCount);
|
||||
UNREFERENCED_PARAMETER(DataSize);
|
||||
}
|
||||
|
||||
static VOID
|
||||
NTAPI
|
||||
Fast486IoWriteCallback(PFAST486_STATE State, ULONG Port, PVOID Buffer, ULONG Size, UCHAR Width)
|
||||
Fast486IoWriteCallback(PFAST486_STATE State, ULONG Port, PVOID Buffer, ULONG DataCount, UCHAR DataSize)
|
||||
{
|
||||
UNREFERENCED_PARAMETER(State);
|
||||
UNREFERENCED_PARAMETER(Port);
|
||||
UNREFERENCED_PARAMETER(Buffer);
|
||||
UNREFERENCED_PARAMETER(Size);
|
||||
UNREFERENCED_PARAMETER(Width);
|
||||
UNREFERENCED_PARAMETER(DataCount);
|
||||
UNREFERENCED_PARAMETER(DataSize);
|
||||
}
|
||||
|
||||
static VOID
|
||||
|
|
|
@ -82,14 +82,14 @@ static VOID WINAPI EmulatorWriteMemory(PFAST486_STATE State, ULONG Address, PVOI
|
|||
}
|
||||
}
|
||||
|
||||
static VOID WINAPI EmulatorReadIo(PFAST486_STATE State, ULONG Port, PVOID Buffer, ULONG Size, UCHAR Width)
|
||||
static VOID WINAPI EmulatorReadIo(PFAST486_STATE State, ULONG Port, PVOID Buffer, ULONG DataCount, UCHAR DataSize)
|
||||
{
|
||||
INT i, j;
|
||||
LPBYTE Address = (LPBYTE)Buffer;
|
||||
|
||||
UNREFERENCED_PARAMETER(State);
|
||||
|
||||
for (i = 0; i < Size; i++) for (j = 0; j < Width; j++)
|
||||
for (i = 0; i < DataCount; i++) for (j = 0; j < DataSize; j++)
|
||||
{
|
||||
ULONG CurrentPort = Port + j;
|
||||
|
||||
|
@ -169,14 +169,14 @@ static VOID WINAPI EmulatorReadIo(PFAST486_STATE State, ULONG Port, PVOID Buffer
|
|||
}
|
||||
}
|
||||
|
||||
static VOID WINAPI EmulatorWriteIo(PFAST486_STATE State, ULONG Port, PVOID Buffer, ULONG Size, UCHAR Width)
|
||||
static VOID WINAPI EmulatorWriteIo(PFAST486_STATE State, ULONG Port, PVOID Buffer, ULONG DataCount, UCHAR DataSize)
|
||||
{
|
||||
INT i, j;
|
||||
LPBYTE Address = (LPBYTE)Buffer;
|
||||
|
||||
UNREFERENCED_PARAMETER(State);
|
||||
|
||||
for (i = 0; i < Size; i++) for (j = 0; j < Width; j++)
|
||||
for (i = 0; i < DataCount; i++) for (j = 0; j < DataSize; j++)
|
||||
{
|
||||
ULONG CurrentPort = Port + j;
|
||||
|
||||
|
|
Loading…
Reference in a new issue