VirtualBox

Ignore:
Timestamp:
Oct 21, 2008 3:22:56 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
38232
Message:

Fixed default flags for selector register loads in real and V86 mode

File:
1 edited

Legend:

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

    r11982 r13449  
    12591259    sc->base = (selector << 4);
    12601260#ifdef VBOX
    1261     sc->flags = 0; /* clear attributes */
     1261    sc->flags = DESC_P_MASK | DESC_S_MASK | DESC_W_MASK;
     1262    if (PARAM1 == offsetof(CPUX86State,segs[R_CS]))
     1263        sc->flags |= DESC_CS_MASK;
    12621264#endif
    12631265}
Note: See TracChangeset for help on using the changeset viewer.

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