- Fix the emulation of 'inl' instruction in V86 mode.

svn path=/trunk/; revision=9205
This commit is contained in:
Filip Navara 2004-04-23 20:11:11 +00:00
parent eabb3b47ad
commit 4e374dbe4b

View file

@ -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;
}