VirtualBox

Changeset 71247 in vbox for trunk


Ignore:
Timestamp:
Mar 6, 2018 5:16:24 PM (7 years ago)
Author:
vboxsync
Message:

DevIchAc97: Critsect alignment fix (32-bit).

Location:
trunk/src/VBox/Devices
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Audio/DevIchAc97.cpp

    r70642 r71247  
    393393    /** The PCI device state. */
    394394    PDMPCIDEV               PciDev;
     395    /** Critical section protecting the AC'97 state. */
     396    PDMCRITSECT             CritSect;
    395397    /** R3 Pointer to the device instance. */
    396398    PPDMDEVINSR3            pDevInsR3;
    397     /** Critical section protecting the AC'97 state. */
    398     PDMCRITSECT             CritSect;
    399399    /** Global Control (Bus Master Control Register). */
    400400    uint32_t                glob_cnt;
  • trunk/src/VBox/Devices/testcase/tstDeviceStructSize.cpp

    r71210 r71247  
    112112#include <VBox/vmm/pdmaudioifs.h>
    113113
    114 # undef LOG_GROUP
    115 # include "../Audio/DevIchAc97.cpp"
    116 # undef LOG_GROUP
    117 # include "../Audio/DevHDA.cpp"
     114#undef LOG_GROUP
     115#include "../Audio/DevIchAc97.cpp"
     116#undef LOG_GROUP
     117#include "../Audio/DevHDA.cpp"
    118118
    119119#include <stdio.h>
     
    281281     * Misc alignment checks (keep this somewhat alphabetical).
    282282     */
     283    CHECK_MEMBER_ALIGNMENT(AC97STATE, CritSect, 8);
     284
    283285    CHECK_MEMBER_ALIGNMENT(AHCI, lock, 8);
    284286    CHECK_MEMBER_ALIGNMENT(AHCI, ahciPort[0], 8);
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