VirtualBox

Changeset 19719 in vbox for trunk/src


Ignore:
Timestamp:
May 15, 2009 9:01:23 AM (16 years ago)
Author:
vboxsync
Message:

Alignment check

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/EM.cpp

    r19709 r19719  
    126126    AssertCompileMemberAlignment(VM, em.s, 32);
    127127    AssertCompile(sizeof(pVM->em.s) <= sizeof(pVM->em.padding));
    128     AssertReleaseMsg(sizeof(pVM->aCpus[0].em.s.u.FatalLongJump) <= sizeof(pVM->aCpus[0].em.s.u.achPaddingFatalLongJump),
    129         ("%d bytes, padding %d\n", sizeof(pVM->aCpus[0].em.s.u.FatalLongJump), sizeof(pVM->aCpus[0].em.s.u.achPaddingFatalLongJump)));
     128    AssertCompile(sizeof(pVM->aCpus[0].em.s.u.FatalLongJump) <= sizeof(pVM->aCpus[0].em.s.u.achPaddingFatalLongJump));
     129    AssertCompileMemberAlignment(EM, CritSectREM, 8);
    130130
    131131    /*
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