VirtualBox

Changeset 56715 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Jun 30, 2015 11:48:17 PM (10 years ago)
Author:
vboxsync
Message:

Fix various alignments of STAM members in devices and VMM for 32bit, producing assertions in stamR3RegisterU() previously. (Hoping the 64bit builds are not starting to burn now)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/include/HMInternal.h

    r56084 r56715  
    500500    /** HMR0Init was run */
    501501    bool                    fHMR0Init;
    502     bool                    u8Alignment1[7];
     502    bool                    u8Alignment1[HC_ARCH_BITS == 64 ? 7 : 3];
    503503
    504504    STAMCOUNTER             StatTprPatchSuccess;
     
    509509/** Pointer to HM VM instance data. */
    510510typedef HM *PHM;
     511
     512AssertCompileMemberAlignment(HM, StatTprPatchSuccess, 8);
    511513
    512514/* Maximum number of cached entries. */
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