VirtualBox

Changeset 90639 in vbox for trunk/src/VBox/Devices/VMMDev


Ignore:
Timestamp:
Aug 11, 2021 9:41:42 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
146251
Message:

VMM,VMMDev: Changed my mind, made the alignment requirement for PDMCRITSECTRW 64 bytes instead of 32. Only the VMMDev one needed fixing. bugref:6695

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/VMMDev/VMMDevState.h

    r90638 r90639  
    127127     *          PDMDEVINS structure. */
    128128    PDMCRITSECT         CritSect;
     129#if !defined(VBOX_WITHOUT_TESTING_FEATURES) || defined(DOXYGEN_RUNNING)
     130    /** Read write critical section of lock testing.
     131     * @remarks At the beginning to satisfy 64 byte alignment requirement.  */
     132    PDMCRITSECTRW       CritSectRw;
     133#endif
    129134
    130135    /** mouse capabilities of host and guest */
     
    366371    /** Handle for the MMIO region used by the testing component. */
    367372    IOMMMIOHANDLE       hMmioTesting;
    368     /** Read write critical section of lock testing. */
    369     PDMCRITSECTRW       CritSectRw;
    370373#endif /* !VBOX_WITHOUT_TESTING_FEATURES || DOXYGEN_RUNNING */
    371374    /** @} */
     
    393396#ifndef VBOX_WITHOUT_TESTING_FEATURES
    394397AssertCompileMemberAlignment(VMMDEV, TestingData.Value.u64Value, 8);
    395 AssertCompileMemberAlignment(VMMDEV, CritSectRw, 32);
     398AssertCompileMemberAlignment(VMMDEV, CritSectRw, 64);
    396399#endif
    397400
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