VirtualBox

Changeset 30597 in vbox


Ignore:
Timestamp:
Jul 5, 2010 9:09:01 AM (15 years ago)
Author:
vboxsync
Message:

alignment check on BUSLOGIC::CritSectIntr.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/DevBusLogic.cpp

    r30596 r30597  
    276276    PPDMDEVINSRC                    pDevInsRC;
    277277
    278     /* Whether R0 is enabled. */
     278    /** Whether R0 is enabled. */
    279279    bool                            fR0Enabled;
    280     /** Whether GC is enabled. */
     280    /** Whether RC is enabled. */
    281281    bool                            fGCEnabled;
    282282
     
    378378    /** The base interface.
    379379     * @todo use PDMDEVINS::IBase  */
    380     PDMIBASE                       IBase;
     380    PDMIBASE                        IBase;
    381381    /** Status Port - Leds interface. */
    382     PDMILEDPORTS                   ILeds;
     382    PDMILEDPORTS                    ILeds;
    383383    /** Partner of ILeds. */
    384     R3PTRTYPE(PPDMILEDCONNECTORS)  pLedsConnector;
     384    R3PTRTYPE(PPDMILEDCONNECTORS)   pLedsConnector;
    385385
    386386#if HC_ARCH_BITS == 64
    387     uint32_t                       Alignment3;
     387    uint32_t                        Alignment3;
    388388#endif
    389389
    390390    /** Indicates that PDMDevHlpAsyncNotificationCompleted should be called when
    391391     * a port is entering the idle state. */
    392     bool volatile                  fSignalIdle;
     392    bool volatile                   fSignalIdle;
    393393
    394394} BUSLOGIC, *PBUSLOGIC;
  • trunk/src/VBox/Devices/testcase/tstDeviceStructSize.cpp

    r30222 r30597  
    263263    CHECK_MEMBER_ALIGNMENT(ATACONTROLLER, lock, 8);
    264264    CHECK_MEMBER_ALIGNMENT(ATACONTROLLER, StatAsyncOps, 8);
     265    CHECK_MEMBER_ALIGNMENT(BUSLOGIC, CritSectIntr, 8);
    265266    CHECK_MEMBER_ALIGNMENT(DEVPARALLELSTATE, CritSect, 8);
    266267#ifdef VBOX_WITH_STATISTICS
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