VirtualBox

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/Graphics/DevVGA.cpp

    r39135 r39136  
    59905990    if (pThis->fGCEnabled)
    59915991    {
    5992         rc = PDMDevHlpMMIORegisterRC(pDevIns, 0x000a0000, 0x00020000, 0, "vgaMMIOWrite", "vgaMMIORead", "vgaMMIOFill");
     5992        rc = PDMDevHlpMMIORegisterRCEx(pDevIns, 0x000a0000, 0x00020000, NIL_RTRCPTR /*pvUser*/,
     5993                                       "vgaMMIOWrite", "vgaMMIORead", "vgaMMIOFill");
    59935994        if (RT_FAILURE(rc))
    59945995            return rc;
     
    59965997    if (pThis->fR0Enabled)
    59975998    {
    5998         rc = PDMDevHlpMMIORegisterR0(pDevIns, 0x000a0000, 0x00020000, 0, "vgaMMIOWrite", "vgaMMIORead", "vgaMMIOFill");
     5999        rc = PDMDevHlpMMIORegisterR0Ex(pDevIns, 0x000a0000, 0x00020000, NIL_RTR0PTR /*pvUser*/,
     6000                                       "vgaMMIOWrite", "vgaMMIORead", "vgaMMIOFill");
    59996001        if (RT_FAILURE(rc))
    60006002            return rc;
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