VirtualBox

Changeset 75585 in vbox for trunk/include


Ignore:
Timestamp:
Nov 19, 2018 6:03:23 PM (6 years ago)
Author:
vboxsync
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/include/VBox/VMMDev.h

    r75533 r75585  
    6565/** Port for generic request interface (relative offset). */
    6666#define VMMDEV_PORT_OFF_REQUEST                             0
     67/** Port for requests that can be handled w/o going to ring-3 (relative offset).
     68 * This works like VMMDevReq_AcknowledgeEvents when read.  */
     69#define VMMDEV_PORT_OFF_REQUEST_FAST                        8
    6770
    6871
     
    529532AssertCompileSize(VMMDevReqHostVersion, 24+16);
    530533
    531 /** @name VMMDevReqHostVersion::features
     534/** @name VMMDEV_HVF_XXX - VMMDevReqHostVersion::features
    532535 * @{ */
    533536/** Physical page lists are supported by HGCM. */
    534 #define VMMDEV_HVF_HGCM_PHYS_PAGE_LIST  RT_BIT(0)
     537#define VMMDEV_HVF_HGCM_PHYS_PAGE_LIST      RT_BIT_32(0)
     538/** HGCM supports the embedded buffer parameter type. */
     539#define VMMDEV_HVF_HGCM_EMBEDDED_BUFFERS    RT_BIT_32(1)
     540/** VMMDev supports fast IRQ acknowledgements. */
     541#define VMMDEV_HVF_FAST_IRQ_ACK             RT_BIT_32(31)
    535542/** @} */
    536543
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