VirtualBox

Ignore:
Timestamp:
Jan 25, 2010 2:21:13 PM (15 years ago)
Author:
vboxsync
Message:

PDM,*: Redid the PDM structure versions. Check the instance and helper versions in every device and driver constructor.

File:
1 edited

Legend:

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

    r25986 r26001  
    49064906{
    49074907    PCNetState *pThis = PDMINS_2_DATA(pDevIns, PCNetState *);
     4908    PDMDEV_CHECK_VERSIONS_RETURN_QUIET(pDevIns);
    49084909
    49094910    if (PDMCritSectIsInitialized(&pThis->CritSect))
     
    49524953    Assert((iInstance >= 0) && (iInstance < 8));
    49534954
     4955    PDMDEV_CHECK_VERSIONS_RETURN(pDevIns);
    49544956    Assert(RT_ELEMENTS(pThis->aBCR) == BCR_MAX_RAP);
    49554957    Assert(RT_ELEMENTS(pThis->aMII) == MII_MAX_REG);
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