mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
- Fix the emulation of 'inl' instruction in V86 mode.
svn path=/trunk/; revision=9205
This commit is contained in:
parent
eabb3b47ad
commit
4e374dbe4b
1 changed files with 2 additions and 2 deletions
|
@ -367,7 +367,7 @@ KeV86GPF(PKV86M_TRAP_FRAME VTf, PKTRAP_FRAME Tf)
|
|||
else
|
||||
{
|
||||
ULONG v;
|
||||
v = READ_PORT_USHORT((PUSHORT)(ULONG)ip[1]);
|
||||
v = READ_PORT_ULONG((PULONG)(ULONG)ip[1]);
|
||||
DPRINT("inl %d\t%X\n", (ULONG)ip[1], v);
|
||||
Tf->Eax = v;
|
||||
}
|
||||
|
@ -420,7 +420,7 @@ KeV86GPF(PKV86M_TRAP_FRAME VTf, PKTRAP_FRAME Tf)
|
|||
{
|
||||
ULONG v;
|
||||
|
||||
v = READ_PORT_USHORT((PUSHORT)(Tf->Edx & 0xFFFF));
|
||||
v = READ_PORT_ULONG((PULONG)(Tf->Edx & 0xFFFF));
|
||||
DPRINT("inl %d\t%X\n", Tf->Edx & 0xFFFF, v);
|
||||
Tf->Eax = v;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue