[FAST486]

Read the LDT instead of the GDT when the table indicator is set.


svn path=/branches/ntvdm/; revision=61057
This commit is contained in:
Aleksandar Andrejevic 2013-11-20 10:48:26 +00:00
parent e2fb91925e
commit 459e3a6f48
2 changed files with 37 additions and 14 deletions

View file

@ -37,6 +37,7 @@
#define GET_SEGMENT_RPL(s) ((s) & 3)
#define GET_SEGMENT_INDEX(s) ((s) & 0xFFF8)
#define SEGMENT_TABLE_INDICATOR (1 << 2)
#define EXCEPTION_HAS_ERROR_CODE(x) (((x) == 8) || ((x) >= 10 && (x) <= 14))
#define NO_LOCK_PREFIX() if (State->PrefixFlags & FAST486_PREFIX_LOCK)\