VirtualBox

Changeset 76693 in vbox for trunk/include


Ignore:
Timestamp:
Jan 8, 2019 6:07:36 AM (6 years ago)
Author:
vboxsync
Message:

os2/VBoxSF: Added fallbacks for older hosts that doesn't support embedded buffers and contiguous page lists.

File:
1 edited

Legend:

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

    r76585 r76693  
    273273    VMMDevHGCMParmType_LinAddr_In         = 5,  /**< In  (read;  host<-guest) */
    274274    VMMDevHGCMParmType_LinAddr_Out        = 6,  /**< Out (write; host->guest) */
    275     VMMDevHGCMParmType_LinAddr_Locked     = 7,  /**< Locked In and Out */
    276     VMMDevHGCMParmType_LinAddr_Locked_In  = 8,  /**< Locked In  (read;  host<-guest) */
    277     VMMDevHGCMParmType_LinAddr_Locked_Out = 9,  /**< Locked Out (write; host->guest) */
     275    VMMDevHGCMParmType_LinAddr_Locked     = 7,  /**< Locked In and Out - for VBoxGuest, not host. */
     276    VMMDevHGCMParmType_LinAddr_Locked_In  = 8,  /**< Locked In  (read;  host<-guest) - for VBoxGuest, not host. */
     277    VMMDevHGCMParmType_LinAddr_Locked_Out = 9,  /**< Locked Out (write; host->guest) - for VBoxGuest, not host. */
    278278    VMMDevHGCMParmType_PageList           = 10, /**< Physical addresses of locked pages for a buffer. */
    279279    VMMDevHGCMParmType_Embedded           = 11, /**< Small buffer embedded in request. */
     
    309309        struct
    310310        {
    311             uint32_t size;      /**< Size of the buffer described by the page list. */
    312             uint32_t offset;    /**< Relative to the request header of a HGCMPageListInfo structure, valid if size != 0. */
     311            uint32_t  cb;
     312            RTGCPTR32 uAddr;
     313        } LinAddr;                      /**< Shorter version of the above Pointer structure. */
     314        struct
     315        {
     316            uint32_t size;              /**< Size of the buffer described by the page list. */
     317            uint32_t offset;            /**< Relative to the request header of a HGCMPageListInfo structure, valid if size != 0. */
    313318        } PageList;
    314319        struct
     
    388393        struct
    389394        {
    390             uint32_t size;   /**< Size of the buffer described by the page list. */
    391             uint32_t offset; /**< Relative to the request header, valid if size != 0. */
     395            uint32_t  cb;
     396            RTGCPTR64 uAddr;
     397        } LinAddr;                      /**< Shorter version of the above Pointer structure. */
     398        struct
     399        {
     400            uint32_t size;              /**< Size of the buffer described by the page list. */
     401            uint32_t offset;            /**< Relative to the request header, valid if size != 0. */
    392402        } PageList;
    393403        struct
     
    482492        struct
    483493        {
    484             uint32_t size;   /**< Size of the buffer described by the page list. */
    485             uint32_t offset; /**< Relative to the request header, valid if size != 0. */
     494            uint32_t  cb;
     495            RTGCPTR32 uAddr;
     496        } LinAddr;                      /**< Shorter version of the above Pointer structure. */
     497        struct
     498        {
     499            uint32_t size;              /**< Size of the buffer described by the page list. */
     500            uint32_t offset;            /**< Relative to the request header, valid if size != 0. */
    486501        } PageList;
    487502        struct
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