VirtualBox

Changeset 75585 in vbox for trunk/src/VBox/VMM/VMMR3


Ignore:
Timestamp:
Nov 19, 2018 6:03:23 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
126753
Message:

VMMDev,PGM: New I/O port for ACKing IRQs and retreiving pending events. This is handled in ring-0/raw-mode and saves a bit of time compared to the ring-3 trip we've been doing for VMMDevReq_AcknowledgeEvents thus far. Requires the start of the VMMDev memory being mapped into R00/RC, the former requires some hacks on linux+windows as RTR0MemObjMapKernelEx is missing some functionality here. bugref:9172

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/PGMPhys.cpp

    r73606 r75585  
    38773877     * Pass the request on to the support library/driver.
    38783878     */
    3879     int rc = SUPR3PageMapKernel(pFirstRegMmio->pvR3, off, cb, 0, pR0Ptr);
     3879#if defined(RT_OS_WINDOWS) || defined(RT_OS_LINUX) || defined(RT_OS_OS2) /** @todo Fully implement RTR0MemObjMapKernelEx everywhere. */
     3880    AssertLogRelReturn(off == 0, VERR_NOT_SUPPORTED);
     3881    AssertLogRelReturn(pFirstRegMmio->fFlags & PGMREGMMIORANGE_F_LAST_CHUNK, VERR_NOT_SUPPORTED);
     3882    int rc = SUPR3PageMapKernel(pFirstRegMmio->pvR3, 0 /*off*/, pFirstRegMmio->RamRange.cb, 0 /*fFlags*/, pR0Ptr);
     3883#else
     3884    int rc = SUPR3PageMapKernel(pFirstRegMmio->pvR3, off, cb, 0 /*fFlags*/, pR0Ptr);
     3885#endif
    38803886
    38813887    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