VirtualBox

Changeset 23494 in vbox for trunk/src/VBox/Devices/Network


Ignore:
Timestamp:
Oct 1, 2009 6:31:30 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
53124
Message:

E1K: stam counters alignment check and fix.

File:
1 edited

Legend:

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

    r22793 r23494  
    928928    /** EMT: Physical interface emulation. */
    929929    PHY         phy;
     930    uint32_t ui32Pad; /*make 32-bit host happy with alignment*/
    930931
    931932    STAMCOUNTER                         StatReceiveBytes;
     
    993994};
    994995typedef struct E1kState_st E1KSTATE;
     996AssertCompileMemberAlignment(E1KSTATE, StatReceiveBytes, 8);
    995997
    996998#ifndef VBOX_DEVICE_STRUCT_TESTCASE
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette