[FAST486]

The LDT can be loaded with a NULL descriptor. That invalidates the LDT but doesn't cause
any exception.


svn path=/branches/ntvdm/; revision=61269
This commit is contained in:
Aleksandar Andrejevic 2013-12-14 02:30:42 +00:00
parent 18b844dffa
commit efcf73c467

View file

@ -1798,8 +1798,8 @@ FAST486_OPCODE_HANDLER(Fast486OpcodeGroup0F00)
if (GET_SEGMENT_INDEX(Selector) == 0)
{
Fast486Exception(State, FAST486_EXCEPTION_GP);
return FALSE;
RtlZeroMemory(&State->Ldtr, sizeof(State->Ldtr));
return TRUE;
}
if (!GdtEntry.Present)