VirtualBox

Changeset 11976 in vbox for trunk


Ignore:
Timestamp:
Sep 2, 2008 12:32:21 PM (16 years ago)
Author:
vboxsync
Message:

Correct pVMGC->fForcedActions fixups.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PATM/PATMSSM.cpp

    r11974 r11976  
    869869        }
    870870        else
     871        /* Note: rather assumptive! */
     872        if (    *pFixup >= pVM->pVMGC
     873            &&  *pFixup < pVM->pVMGC + 32)
     874            *pFixup = pVM->pVMGC + RT_OFFSETOF(VM, fForcedActions);
     875        else
    871876            AssertMsgFailed(("Unexpected fixup value %x\n", *pFixup));
     877
     878        AssertCompile(RT_OFFSETOF(VM, fForcedActions) < 32);
    872879        break;
    873880    }
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