VirtualBox

Changeset 68565 in vbox for trunk/include


Ignore:
Timestamp:
Aug 31, 2017 12:10:25 PM (7 years ago)
Author:
vboxsync
Message:

merging vbglioc r117730: solaris adjustments.

File:
1 edited

Legend:

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

    r68561 r68565  
    139139  /* No automatic buffering, size limited to 255 bytes => use VBGLBIGREQ for everything. */
    140140# include <sys/ioccom.h>
    141 # define SUP_CTL_CODE_SIZE(Function, Size)          _IOWRN('V', (Function), sizeof(SUPREQHDR))
    142 # define SUP_CTL_CODE_BIG(Function)                 _IOWRN('V', (Function), sizeof(SUPREQHDR))
    143 # define SUP_CTL_CODE_FAST(Function)                _IO(   'V', (Function))
     141# define VBGL_IOCTL_CODE_SIZE(Function, Size)       _IOWRN('V', (Function), sizeof(VBGLREQHDR))
     142# define VBGL_IOCTL_CODE_BIG(Function)              _IOWRN('V', (Function), sizeof(VBGLREQHDR))
     143# define VBGL_IOCTL_CODE_FAST(Function)             _IO(   'F', (Function))
    144144# define VBGL_IOCTL_CODE_STRIPPED(a_uIOCtl)         ((a_uIOCtl) & ~VBGL_IOCTL_FLAG_BIT_MASK)
     145# define VBGL_IOCTL_IS_FAST(a_uIOCtl)               ( ((a_uIOCtl) & 0x0000ff00) == ('F' << 8) )
    145146
    146147#elif defined(RT_OS_LINUX)
     
    149150# define VBGL_IOCTL_CODE_SIZE(Function, Size)       _IOC(_IOC_READ | _IOC_WRITE, 'V', (Function), (Size))
    150151# define VBGL_IOCTL_CODE_BIG(Function)              _IO('V', (Function))
    151 # define VBGL_IOCTL_CODE_FAST(Function)             _IO('V', (Function))
     152# define VBGL_IOCTL_CODE_FAST(Function)             _IO('F', (Function))
    152153# define VBGL_IOCTL_CODE_STRIPPED(a_uIOCtl)         (_IOC_NR((a_uIOCtl)) & ~VBGL_IOCTL_FLAG_BIT_MASK)
    153154# define VBOXGUEST_USER_DEVICE_NAME                 "/dev/vboxuser"
     
    166167# include <sys/ioccom.h>
    167168# define VBGL_IOCTL_CODE_SIZE(Function, Size)       _IOC(IOC_INOUT, 'V', (Function), (Size))
    168 # define VBGL_IOCTL_CODE_BIG(Function)              _IO('V', (Function) | SUP_IOCTL_FLAG)
    169 # define VBGL_IOCTL_CODE_FAST(Function)             _IO('V', (Function))
     169# define VBGL_IOCTL_CODE_BIG(Function)              _IO('V', (Function))
     170# define VBGL_IOCTL_CODE_FAST(Function)             _IO('F', (Function))
    170171# define VBGL_IOCTL_CODE_STRIPPED(a_uIOCtl)         ((a_uIOCtl) & ~(_IOC(0,0,0,IOCPARM_MASK) | VBGL_IOCTL_FLAG_BIT_MASK))
    171172#endif
     
    10501051 * @param   pvSession   The session.
    10511052 * @param   uReq        The request code.
    1052  * @param   pReq        The request.
     1053 * @param   pReqHdr     The request.
    10531054 * @param   cbReq       The request size.
    10541055 */
    1055 int VBOXCALL VBoxGuestIDC(void *pvSession, uintptr_t uReq, PVBGLREQHDR pReq, size_t cbReq);
     1056int VBOXCALL VBoxGuestIDC(void *pvSession, uintptr_t uReq, PVBGLREQHDR pReqHdr, size_t cbReq);
    10561057RT_C_DECLS_END
    10571058#endif
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