VirtualBox

Changeset 47767 in vbox


Ignore:
Timestamp:
Aug 15, 2013 1:54:02 PM (11 years ago)
Author:
vboxsync
Message:

REM: clear unnecessary TR attributes on task switch.

File:
1 edited

Legend:

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

    r47757 r47767  
    604604    env->tr.base = tss_base;
    605605    env->tr.limit = tss_limit;
     606#ifndef VBOX
    606607    env->tr.flags = e2 & ~DESC_TSS_BUSY_MASK;
    607 #ifdef VBOX
     608#else
     609    env->tr.flags = e2 & (DESC_RAW_FLAG_BITS & ~(DESC_TSS_BUSY_MASK)); /** @todo stop clearing the busy bit, VT-x and AMD-V seems to set it in the hidden bits. */
    608610    env->tr.fVBoxFlags  = CPUMSELREG_FLAGS_VALID;
    609611    env->tr.newselector = 0;
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