VirtualBox

Changeset 56715 in vbox for trunk/src/VBox/Devices/Audio


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/Devices/Audio/DevIchAc97.cpp

    r56648 r56715  
    269269    uint64_t                uTicks;
    270270#ifdef VBOX_WITH_STATISTICS
     271# if HC_ARCH_BITS == 32
     272    uint32_t                u32Alignment0;
     273# endif
    271274    STAMPROFILE             StatTimer;
    272275    STAMCOUNTER             StatBytesRead;
     
    300303/** Pointer to the AC97 device state. */
    301304typedef AC97STATE *PAC97STATE;
     305
     306AssertCompileMemberAlignment(AC97STATE, StatTimer, 8);
    302307
    303308#ifndef VBOX_DEVICE_STRUCT_TESTCASE
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