VirtualBox

Changeset 16888 in vbox for trunk


Ignore:
Timestamp:
Feb 18, 2009 10:49:55 AM (16 years ago)
Author:
vboxsync
Message:

Solaris/vboxdrv,VBoxNetFlt,VBoxNetAdp: Drop gxx_personality hack for exceptions.

Location:
trunk/src/VBox/HostDrivers
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/solaris/SUPDrv-solaris.c

    r16546 r16888  
    181181static SUPDRVDEVEXT         g_DevExt;
    182182
    183 /* GCC C++ hack. */
    184 unsigned __gxx_personality_v0 = 0xcccccccc;
    185 
    186183/** Hash table */
    187184static PSUPDRVSESSION       g_apSessionHashTab[19];
  • trunk/src/VBox/HostDrivers/VBoxNetAdp/solaris/VBoxNetAdp-solaris.c

    r16880 r16888  
    6161/** The module descriptions as seen in 'modinfo'. */
    6262#define DEVICE_DESC_DRV          "VirtualBox NetAdp"
    63 #define DEVICE_DESC_MOD          "VirtualBox AdpMod"
    6463#define VBOXNETADP_MTU           1500
    6564
     
    8281    0,                                /* min. packet size */
    8382    INFPSZ,                           /* max. packet size */
    84     0,                                /* hi-water mask */
    85     0                                 /* lo-water mask */
     83    0,                                /* hi-water mark */
     84    0                                 /* lo-water mark */
    8685};
    8786
     
    196195/** The default ethernet broadcast address */
    197196static uchar_t achBroadcastAddr[] = { 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF };
    198 
    199 /** GCC C++ hack. */
    200 unsigned __gxx_personality_v0 = 0xbadb100d;
    201197
    202198
     
    497493static int vboxNetAdpSolarisSetPromisc(gld_mac_info_t *pMacInfo, int fPromisc)
    498494{
    499 
    500 }
    501 
     495    NOREF(pMacInfo);
     496    NOREF(fPromisc);
     497    return GLD_SUCCESS;
     498}
     499
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/solaris/VBoxNetFlt-solaris.c

    r16546 r16888  
    151151    0,                              /* min. packet size */
    152152    INFPSZ,                         /* max. packet size */
    153     0,                              /* hi-water mask */
    154     0                               /* lo-water mask */
     153    0,                              /* hi-water mark */
     154    0                               /* lo-water mark */
    155155};
    156156
     
    390390/** Goes along with the instance to determine type of stream being opened/created. */
    391391VBOXNETFLTSTREAMTYPE volatile g_VBoxNetFltSolarisStreamType;
    392 
    393 /** GCC C++ hack. */
    394 unsigned __gxx_personality_v0 = 0xdecea5ed;
    395392
    396393
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