VirtualBox

Changeset 26932 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Mar 2, 2010 10:10:59 AM (15 years ago)
Author:
vboxsync
Message:

virtio-net: alignment

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/DevVirtioNet.cpp

    r26305 r26932  
    183183    uint8_t                 aVlanFilter[VNET_MAX_VID / sizeof(uint8_t)];
    184184
    185 #if HC_ARCH_BITS != 64
    186     uint32_t    padding3;
    187 #endif
    188 
    189185    R3PTRTYPE(PVQUEUE)      pRxQueue;
    190186    R3PTRTYPE(PVQUEUE)      pTxQueue;
     
    193189
    194190    /** EMT: Gets signalled when more RX descriptors become available. */
    195     RTSEMEVENT  hEventMoreRxDescAvail;
     191    RTSEMEVENT              hEventMoreRxDescAvail;
    196192
    197193    /* Statistic fields ******************************************************/
  • trunk/src/VBox/Devices/testcase/tstDeviceStructSize.cpp

    r26308 r26932  
    270270    CHECK_MEMBER_ALIGNMENT(DEVPIC, StatSetIrqGC, 8);
    271271#endif
     272#ifdef VBOX_WITH_E1000
    272273    CHECK_MEMBER_ALIGNMENT(E1KSTATE, cs, 8);
    273274    CHECK_MEMBER_ALIGNMENT(E1KSTATE, csRx, 8);
     275#endif
     276#ifdef VBOX_WITH_VIRTIO
     277    CHECK_MEMBER_ALIGNMENT(VNETSTATE, StatReceiveBytes, 8);
     278#endif
    274279    //CHECK_MEMBER_ALIGNMENT(E1KSTATE, csTx, 8);
    275280#ifdef VBOX_WITH_USB
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