VirtualBox

Changeset 54762 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Mar 13, 2015 9:36:43 PM (10 years ago)
Author:
vboxsync
Message:

PATM: Only fix up constants when loading state. (missed assertion)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/PATMPatch.cpp

    r54761 r54762  
    104104
    105105    Assert(   uType == FIXUP_ABSOLUTE
    106            || (uType == FIXUP_ABSOLUTE_IN_PATCH_ASM_TMPL && pSource == pDest && PATM_IS_FIXUP_TYPE(pSource))
     106           || (   (uType == FIXUP_ABSOLUTE_IN_PATCH_ASM_TMPL || uType == FIXUP_CONSTANT_IN_PATCH_ASM_TMPL)
     107               && pSource == pDest
     108               && PATM_IS_FIXUP_TYPE(pSource))
    107109           || ((uType == FIXUP_REL_JMPTOPATCH || uType == FIXUP_REL_JMPTOGUEST) && pSource && pDest));
    108110
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