mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
- Fix the emulation of 'inl' instruction in V86 mode.
svn path=/trunk/; revision=9205
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user