VirtualBox

Changeset 1972 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Apr 6, 2007 10:20:37 AM (18 years ago)
Author:
vboxsync
Message:

wrong mask

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMGC/SELMGC.cpp

    r1971 r1972  
    148148
    149149#ifdef VBOX_STRICT
    150     if (Sel == (pRegFrame->cs & ~X86_SEL_MASK))
     150    if (Sel == (pRegFrame->cs & X86_SEL_MASK))
    151151        Log(("GDT write to selector in CS register %04X\n", pRegFrame->cs));
    152152    else
    153     if (Sel == (pRegFrame->ds & ~X86_SEL_MASK))
     153    if (Sel == (pRegFrame->ds & X86_SEL_MASK))
    154154        Log(("GDT write to selector in DS register %04X\n", pRegFrame->ds));
    155155    else
    156     if (Sel == (pRegFrame->es & ~X86_SEL_MASK))
     156    if (Sel == (pRegFrame->es & X86_SEL_MASK))
    157157        Log(("GDT write to selector in ES register %04X\n", pRegFrame->es));
    158158    else
    159     if (Sel == (pRegFrame->fs & ~X86_SEL_MASK))
     159    if (Sel == (pRegFrame->fs & X86_SEL_MASK))
    160160        Log(("GDT write to selector in FS register %04X\n", pRegFrame->fs));
    161161    else
    162     if (Sel == (pRegFrame->gs & ~X86_SEL_MASK))
     162    if (Sel == (pRegFrame->gs & X86_SEL_MASK))
    163163        Log(("GDT write to selector in GS register %04X\n", pRegFrame->gs));
    164164    else
    165     if (Sel == (pRegFrame->ss & ~X86_SEL_MASK))
     165    if (Sel == (pRegFrame->ss & X86_SEL_MASK))
    166166        Log(("GDT write to selector in SS register %04X\n", pRegFrame->ss));
    167167#endif
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