VirtualBox

Changeset 27290 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Mar 11, 2010 4:40:10 PM (15 years ago)
Author:
vboxsync
Message:

Allow ring-0 handling of ohci mmio

File:
1 edited

Legend:

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

    r26970 r27290  
    47564756        return rc;
    47574757
    4758 # if 1 /* this enabled / disabled GC stuff */
     4758# if 1 /* this enabled / disabled GC/R0 stuff */
    47594759    rc = PDMDevHlpMMIORegisterRC(pOhci->CTX_SUFF(pDevIns),
    47604760                                 GCPhysAddress,
     
    47664766    if (RT_FAILURE(rc))
    47674767        return rc;
     4768
     4769    rc = PDMDevHlpMMIORegisterR0(pOhci->CTX_SUFF(pDevIns),
     4770                                 GCPhysAddress,
     4771                                 cb,
     4772                                 0,
     4773                                 "ohciWrite",
     4774                                 "ohciRead",
     4775                                 NULL);
     4776    if (RT_FAILURE(rc))
     4777        return rc;
     4778
    47684779# endif
    4769 /** @todo OHCI should register R0 MMIO! (See defect #1626 comment 4.) */
    47704780
    47714781    pOhci->MMIOBase = GCPhysAddress;
     
    53985408    "OHCI USB controller.\n",
    53995409    /* fFlags */
    5400     PDM_DEVREG_FLAGS_DEFAULT_BITS | PDM_DEVREG_FLAGS_RC, /** @todo port OHCI to Ring-0 */
     5410    PDM_DEVREG_FLAGS_DEFAULT_BITS | PDM_DEVREG_FLAGS_RC | PDM_DEVREG_FLAGS_R0,
    54015411    /* fClass */
    54025412    PDM_DEVREG_CLASS_BUS_USB,
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