VirtualBox

Changeset 39136 in vbox for trunk/src/VBox/Devices/Network


Ignore:
Timestamp:
Oct 28, 2011 10:13:34 AM (13 years ago)
Author:
vboxsync
Message:

More MMIO refactoring and some other cleanups.

File:
1 edited

Legend:

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

    r39135 r39136  
    46404640            if (pState->fR0Enabled)
    46414641            {
    4642                 rc = PDMDevHlpMMIORegisterR0(pPciDev->pDevIns, GCPhysAddress, cb, 0,
    4643                                              "e1kMMIOWrite", "e1kMMIORead", NULL);
     4642                rc = PDMDevHlpMMIORegisterR0(pPciDev->pDevIns, GCPhysAddress, cb, NIL_RTR0PTR /*pvUser*/,
     4643                                             "e1kMMIOWrite", "e1kMMIORead");
    46444644                if (RT_FAILURE(rc))
    46454645                    break;
     
    46474647            if (pState->fGCEnabled)
    46484648            {
    4649                 rc = PDMDevHlpMMIORegisterRC(pPciDev->pDevIns, GCPhysAddress, cb, 0,
    4650                                              "e1kMMIOWrite", "e1kMMIORead", NULL);
     4649                rc = PDMDevHlpMMIORegisterRC(pPciDev->pDevIns, GCPhysAddress, cb, NIL_RTRCPTR /*pvUser*/,
     4650                                             "e1kMMIOWrite", "e1kMMIORead");
    46514651            }
    46524652            break;
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