VirtualBox

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


Ignore:
Timestamp:
Oct 28, 2011 10:13:34 AM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
74587
Message:

More MMIO refactoring and some other cleanups.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/USB/DevOHCI.cpp

    r39135 r39136  
    48844884
    48854885# if 1 /* this enabled / disabled GC/R0 stuff */
    4886     rc = PDMDevHlpMMIORegisterRC(pOhci->CTX_SUFF(pDevIns),
    4887                                  GCPhysAddress,
    4888                                  cb,
    4889                                  0,
    4890                                  "ohciWrite",
    4891                                  "ohciRead",
    4892                                  NULL);
     4886    rc = PDMDevHlpMMIORegisterRC(pOhci->CTX_SUFF(pDevIns), GCPhysAddress, cb, NIL_RTRCPTR /*pvUser*/, "ohciWrite", "ohciRead");
    48934887    if (RT_FAILURE(rc))
    48944888        return rc;
    48954889
    4896     rc = PDMDevHlpMMIORegisterR0(pOhci->CTX_SUFF(pDevIns),
    4897                                  GCPhysAddress,
    4898                                  cb,
    4899                                  0,
    4900                                  "ohciWrite",
    4901                                  "ohciRead",
    4902                                  NULL);
     4890    rc = PDMDevHlpMMIORegisterR0(pOhci->CTX_SUFF(pDevIns), GCPhysAddress, cb, NIL_RTR0PTR /*pvUser*/,
     4891                                 "ohciWrite", "ohciRead");
    49034892    if (RT_FAILURE(rc))
    49044893        return rc;
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette