VirtualBox

Changeset 99917 in vbox for trunk/src/VBox/Devices/PC


Ignore:
Timestamp:
May 22, 2023 7:06:14 PM (22 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
157560
Message:

Devices/DevQemuFwCfg: Stub the pfnSendModeHint callback required by the Main DisplayImpl code, bugref:10431

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/DevQemuFwCfg.cpp

    r99739 r99917  
    16361636static DECLCALLBACK(int) qemuFwCfgR3RamfbPortUpdateDisplayAll(PPDMIDISPLAYPORT pInterface, bool fFailOnResize)
    16371637{
    1638     RT_NOREF(pInterface, fFailOnResize);
    1639     AssertReleaseFailed();
    1640     return VERR_NOT_IMPLEMENTED;
     1638    RT_NOREF(fFailOnResize);
     1639    return qemuFwCfgR3RamfbPortUpdateDisplay(pInterface);
    16411640}
    16421641
     
    17511750
    17521751    PDMDevHlpCritSectLeave(pThis->pDevIns, &pThis->CritSectRamfb);
     1752}
     1753
     1754
     1755/**
     1756 * @interface_method_impl{PDMIDISPLAYPORT,pfnSendModeHint}
     1757 */
     1758DECLCALLBACK(int) qemuFwCfgR3RamfbPortSendModeHint(PPDMIDISPLAYPORT pInterface,  uint32_t cx, uint32_t cy, uint32_t cBPP,
     1759                                                   uint32_t iDisplay, uint32_t dx, uint32_t dy, uint32_t fEnabled, uint32_t fNotifyGuest)
     1760{
     1761    RT_NOREF(pInterface, cx, cy, cBPP, iDisplay, dx, dy, fEnabled, fNotifyGuest);
     1762    return VINF_SUCCESS;
    17531763}
    17541764
     
    20042014    pThis->IPortRamfb.pfnSetViewport                    = NULL;
    20052015    pThis->IPortRamfb.pfnReportMonitorPositions         = NULL;
    2006     pThis->IPortRamfb.pfnSendModeHint                   = NULL;
     2016    pThis->IPortRamfb.pfnSendModeHint                   = qemuFwCfgR3RamfbPortSendModeHint;
    20072017    pThis->IPortRamfb.pfnReportHostCursorCapabilities   = qemuFwCfgR3RamfbPortReportHostCursorCapabilities;
    20082018    pThis->IPortRamfb.pfnReportHostCursorPosition       = qemuFwCfgR3RamfbPortReportHostCursorPosition;
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