VirtualBox

Changeset 9660 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jun 12, 2008 12:38:33 PM (17 years ago)
Author:
vboxsync
Message:

Correction

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HWSVMR0.cpp

    r9659 r9660  
    18801880     * Only allow 32-bit code.
    18811881     */
    1882     if (SELMGetCpuModeFromSelector(pVM, pRegFrame->eflags, pRegFrame->cs, &pRegFrame->csHid) == CPUMODE_16BIT)
     1882    if (SELMGetCpuModeFromSelector(pVM, pRegFrame->eflags, pRegFrame->cs, &pRegFrame->csHid) == CPUMODE_32BIT)
    18831883    {
    18841884        RTGCPTR pbCode;
     
    19751975        * Only allow 32-bit code.
    19761976        */
    1977         if (SELMGetCpuModeFromSelector(pVM, pCtx->eflags, pCtx->cs, &pCtx->csHid))
     1977        if (SELMGetCpuModeFromSelector(pVM, pCtx->eflags, pCtx->cs, &pCtx->csHid) == CPUMODE_32BIT)
    19781978        {
    19791979            RTGCPTR pbCode;
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