mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 19:26:29 +00:00
[FAST486]
Don't check for gates in virtual 8086 mode. svn path=/trunk/; revision=67646
This commit is contained in:
parent
ed774c797b
commit
45b03b53d3
2 changed files with 10 additions and 6 deletions
|
@ -4073,7 +4073,7 @@ FAST486_OPCODE_HANDLER(Fast486OpcodeCallAbs)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (State->ControlRegisters[FAST486_REG_CR0] & FAST486_CR0_PE)
|
if ((State->ControlRegisters[FAST486_REG_CR0] & FAST486_CR0_PE) && !State->Flags.Vm)
|
||||||
{
|
{
|
||||||
if (!Fast486ProcessGate(State, Segment, Offset, TRUE))
|
if (!Fast486ProcessGate(State, Segment, Offset, TRUE))
|
||||||
{
|
{
|
||||||
|
@ -5126,7 +5126,7 @@ FAST486_OPCODE_HANDLER(Fast486OpcodeJmpAbs)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (State->ControlRegisters[FAST486_REG_CR0] & FAST486_CR0_PE)
|
if ((State->ControlRegisters[FAST486_REG_CR0] & FAST486_CR0_PE) && !State->Flags.Vm)
|
||||||
{
|
{
|
||||||
if (!Fast486ProcessGate(State, Segment, Offset, FALSE))
|
if (!Fast486ProcessGate(State, Segment, Offset, FALSE))
|
||||||
{
|
{
|
||||||
|
|
|
@ -1467,7 +1467,8 @@ FAST486_OPCODE_HANDLER(Fast486OpcodeGroupFF)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (State->ControlRegisters[FAST486_REG_CR0] & FAST486_CR0_PE)
|
if ((State->ControlRegisters[FAST486_REG_CR0] & FAST486_CR0_PE)
|
||||||
|
&& !State->Flags.Vm)
|
||||||
{
|
{
|
||||||
if (!Fast486ProcessGate(State, Selector, Value, TRUE))
|
if (!Fast486ProcessGate(State, Selector, Value, TRUE))
|
||||||
{
|
{
|
||||||
|
@ -1529,7 +1530,8 @@ FAST486_OPCODE_HANDLER(Fast486OpcodeGroupFF)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (State->ControlRegisters[FAST486_REG_CR0] & FAST486_CR0_PE)
|
if ((State->ControlRegisters[FAST486_REG_CR0] & FAST486_CR0_PE)
|
||||||
|
&& !State->Flags.Vm)
|
||||||
{
|
{
|
||||||
if (!Fast486ProcessGate(State, Selector, Value, FALSE))
|
if (!Fast486ProcessGate(State, Selector, Value, FALSE))
|
||||||
{
|
{
|
||||||
|
@ -1629,7 +1631,8 @@ FAST486_OPCODE_HANDLER(Fast486OpcodeGroupFF)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (State->ControlRegisters[FAST486_REG_CR0] & FAST486_CR0_PE)
|
if ((State->ControlRegisters[FAST486_REG_CR0] & FAST486_CR0_PE)
|
||||||
|
&& !State->Flags.Vm)
|
||||||
{
|
{
|
||||||
if (!Fast486ProcessGate(State, Selector, Value, TRUE))
|
if (!Fast486ProcessGate(State, Selector, Value, TRUE))
|
||||||
{
|
{
|
||||||
|
@ -1697,7 +1700,8 @@ FAST486_OPCODE_HANDLER(Fast486OpcodeGroupFF)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (State->ControlRegisters[FAST486_REG_CR0] & FAST486_CR0_PE)
|
if ((State->ControlRegisters[FAST486_REG_CR0] & FAST486_CR0_PE)
|
||||||
|
&& !State->Flags.Vm)
|
||||||
{
|
{
|
||||||
if (!Fast486ProcessGate(State, Selector, Value, FALSE))
|
if (!Fast486ProcessGate(State, Selector, Value, FALSE))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue