VirtualBox

Changeset 652 in vbox


Ignore:
Timestamp:
Feb 5, 2007 9:55:32 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
18287
Message:

some more #ifdefs IN_RING3

File:
1 edited

Legend:

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

    r646 r652  
    765765         !!ETHER_IS_MULTICAST(hdr->ether_dhost)));                    \
    766766} while (0)
     767
     768
     769#ifdef IN_RING3
    767770
    768771#define MULTICAST_FILTER_LEN 8
     
    927930}
    928931
     932#endif /* IN_RING3 */
     933
    929934/**
    930935 * Get the receive descriptor ring address with a given index.
     
    12511256        pData->cbRDRAOld   = pcnetRdraAddr(pData, 0);
    12521257    }
    1253 #endif
     1258#endif /* PCNET_MONITOR_RECEIVE_RING */
    12541259
    12551260#ifdef PCNET_MONITOR_RECEIVE_RING
     
    12671272        ||  TDRAPageStart > RDRAPageEnd)
    12681273    {
    1269 #endif
     1274#endif /* PCNET_MONITOR_RECEIVE_RING */
    12701275        /* 1) */
    12711276        if (pData->GCTDRA != pData->TDRAPhysOld || CSR_XMTRL(pData) != pData->cbTDRAOld)
     
    15621567}
    15631568
     1569
    15641570#ifdef IN_RING3
     1571
    15651572/**
    15661573 * Check if there is at least one free receive buffer available.
     
    15861593    return 4096 - CSR_CRBC(pData);
    15871594}
    1588 #endif
    15891595
    15901596/**
     
    17661772}
    17671773
    1768 #ifdef IN_RING3
    17691774
    17701775/**
     
    17871792}
    17881793
    1789 #endif /* IN_RING3 */
    1790 
    1791 
    1792 #ifdef IN_RING3
    17931794
    17941795/**
     
    19361937
    19371938#ifdef IN_RING3
     1939
    19381940/**
    19391941 * Try to transmit frames
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