VirtualBox

Changeset 76196 in vbox for trunk/include


Ignore:
Timestamp:
Dec 12, 2018 7:24:05 PM (6 years ago)
Author:
vboxsync
Message:

VMMDev/HGCM,VBoxGuest: New page list variant for more effectively passing physical contiguous buffers (VbglR0PhysHeapAlloc, kmalloc, ++). bugref:9172

Location:
trunk/include/VBox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/VMMDev.h

    r76107 r76196  
    541541 * @{ */
    542542/** Physical page lists are supported by HGCM. */
    543 #define VMMDEV_HVF_HGCM_PHYS_PAGE_LIST      RT_BIT_32(0)
     543#define VMMDEV_HVF_HGCM_PHYS_PAGE_LIST          RT_BIT_32(0)
    544544/** HGCM supports the embedded buffer parameter type. */
    545 #define VMMDEV_HVF_HGCM_EMBEDDED_BUFFERS    RT_BIT_32(1)
     545#define VMMDEV_HVF_HGCM_EMBEDDED_BUFFERS        RT_BIT_32(1)
     546/** HGCM supports the contiguous page list parameter type. */
     547#define VMMDEV_HVF_HGCM_CONTIGUOUS_PAGE_LIST    RT_BIT_32(2)
    546548/** VMMDev supports fast IRQ acknowledgements. */
    547 #define VMMDEV_HVF_FAST_IRQ_ACK             RT_BIT_32(31)
     549#define VMMDEV_HVF_FAST_IRQ_ACK                 RT_BIT_32(31)
    548550/** @} */
    549551
  • trunk/include/VBox/VMMDevCoreTypes.h

    r75548 r76196  
    275275    VMMDevHGCMParmType_PageList           = 10, /**< Physical addresses of locked pages for a buffer. */
    276276    VMMDevHGCMParmType_Embedded           = 11, /**< Small buffer embedded in request. */
     277    VMMDevHGCMParmType_ContiguousPageList = 12, /**< Like PageList but with physically contiguous memory, so only one page entry. */
    277278    VMMDevHGCMParmType_SizeHack           = 0x7fffffff
    278279} HGCMFunctionParameterType;
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