VirtualBox

Changeset 47753 in vbox for trunk/src/recompiler


Ignore:
Timestamp:
Aug 15, 2013 11:40:03 AM (11 years ago)
Author:
vboxsync
Message:

REM: LTR will not load null TR selector.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/recompiler/target-i386/op_helper.c

    r47709 r47753  
    25812581    if ((selector & 0xfffc) == 0) {
    25822582        /* NULL selector case: invalid TR */
     2583#ifdef VBOX
     2584        raise_exception_err(EXCP0A_TSS, 0);
     2585#else
    25832586        env->tr.base = 0;
    25842587        env->tr.limit = 0;
    25852588        env->tr.flags = 0;
    2586 #ifdef VBOX /** @todo can TR really be 0? If so, what're the hidden attributes? */
    2587         env->tr.flags = DESC_INTEL_UNUSABLE;
    2588         env->tr.fVBoxFlags  = CPUMSELREG_FLAGS_VALID;
    2589         env->tr.newselector = 0;
    25902589#endif
    25912590    } else {
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette