VirtualBox

Changeset 71778 in vbox for trunk/src


Ignore:
Timestamp:
Apr 9, 2018 3:18:03 PM (7 years ago)
Author:
vboxsync
Message:

GIMDev: function order.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/GIMDev/GIMDev.cpp

    r69500 r71778  
    172172}
    173173
     174/**
     175 * @interface_method_impl{PDMDEVREG,pfnReset}
     176 */
     177static DECLCALLBACK(void) gimdevR3Reset(PPDMDEVINS pDevIns)
     178{
     179    NOREF(pDevIns);
     180    /* We do not deregister any MMIO2 regions as the regions are expected to be static. */
     181}
     182
     183
     184
     185/**
     186 * @interface_method_impl{PDMDEVREG,pfnRelocate}
     187 */
     188static DECLCALLBACK(void) gimdevR3Relocate(PPDMDEVINS pDevIns, RTGCINTPTR offDelta)
     189{
     190    NOREF(pDevIns);
     191    NOREF(offDelta);
     192}
     193
    174194
    175195/**
     
    178198static DECLCALLBACK(int) gimdevR3Construct(PPDMDEVINS pDevIns, int iInstance, PCFGMNODE pCfg)
    179199{
     200    PDMDEV_CHECK_VERSIONS_RETURN(pDevIns);
    180201    RT_NOREF2(iInstance, pCfg);
    181202    Assert(iInstance == 0);
    182203    PGIMDEV pThis = PDMINS_2_DATA(pDevIns, PGIMDEV);
    183     PDMDEV_CHECK_VERSIONS_RETURN(pDevIns);
    184204
    185205    /*
     
    379399
    380400    return VINF_SUCCESS;
    381 }
    382 
    383 
    384 /**
    385  * @interface_method_impl{PDMDEVREG,pfnRelocate}
    386  */
    387 static DECLCALLBACK(void) gimdevR3Relocate(PPDMDEVINS pDevIns, RTGCINTPTR offDelta)
    388 {
    389     NOREF(pDevIns);
    390     NOREF(offDelta);
    391 }
    392 
    393 
    394 /**
    395  * @interface_method_impl{PDMDEVREG,pfnReset}
    396  */
    397 static DECLCALLBACK(void) gimdevR3Reset(PPDMDEVINS pDevIns)
    398 {
    399     NOREF(pDevIns);
    400     /* We do not deregister any MMIO2 regions as the regions are expected to be static. */
    401401}
    402402
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