VirtualBox

Changeset 731 in vbox


Ignore:
Timestamp:
Feb 6, 2007 11:58:54 PM (18 years ago)
Author:
vboxsync
Message:

Realigned pcnet. Added the alignment testcase to the makefile walk.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Makefile

    r584 r731  
    3434
    3535SUBDIRS   = \
     36        testcase \
    3637        PC/BIOS \
    3738        PC/Etherboot-src \
  • trunk/src/VBox/Devices/Network/DevPCNet.cpp

    r723 r731  
    125125    /** The current frame size. Starts at -1. Only the top frame can be expanded. */
    126126    int32_t  cb;
     127#if HC_ARCH_BITS == 64
     128    uint32_t Alignment;
     129#endif
    127130    /** The virtual address of the frame (copied or direct pointer) */
    128131    RTR3PTR  pvBuf;
     
    167170    /** The recv buffer. */
    168171    uint8_t                             abRecvBuf[4096];
     172
     173    /** Pending send packet counter. */
     174    uint32_t                            cPendingSends;
    169175
    170176    /** Size of a RX/TX descriptor (8 or 16 bytes according to SWSTYLE */
     
    208214    /** Number of times we've reported the link down. */
    209215    RTUINT                              cLinkDownReported;
     216#if HC_ARCH_BITS == 64 || GC_ARCH_BITS == 64
     217    RTUINT                              Alignment;
     218#endif
    210219    /** The configured MAC address. */
    211220    PDMMAC                              MacConfigured;
     
    224233    /** Access critical section. */
    225234    PDMCRITSECT                         CritSect;
    226 
    227     /** Pending send packet counter. */
    228     uint32_t                            cPendingSends;
    229235
    230236#ifdef PCNET_NO_POLLING
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