VirtualBox

Changeset 37690 in vbox for trunk


Ignore:
Timestamp:
Jun 29, 2011 4:05:54 PM (13 years ago)
Author:
vboxsync
Message:

Device/AHCI: 32bit alignment fixes

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/ATAController.h

    r37687 r37690  
    389389    /** Pointer to Media Notify interface. */
    390390    R3PTRTYPE(PPDMIMEDIANOTIFY) pMediaNotify;
    391 #if 0 /*HC_ARCH_BITS == 32*/
     391#if HC_ARCH_BITS == 32
    392392    uint32_t            Alignment0;
    393393#endif
  • trunk/src/VBox/Devices/Storage/DevAHCI.cpp

    r37687 r37690  
    578578    R3PTRTYPE(PPDMIMEDIANOTIFY)     pMediaNotify;
    579579
    580 #if HC_ARCH_BITS == 64
    581     uint32_t                        Alignment1[2];
     580#if HC_ARCH_BITS == 32
     581    uint32_t                        Alignment1;
    582582#endif
    583583
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