VirtualBox

Changeset 68575 in vbox


Ignore:
Timestamp:
Aug 31, 2017 12:10:54 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
117792
Message:

merging vbglioc r117751: OS/2 mouse driver related changes.

Location:
trunk/include/VBox
Files:
3 edited

Legend:

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

    r68573 r68575  
    142142# define VBGL_IOCTL_CODE_STRIPPED(a_uIOCtl)         ((a_uIOCtl) & ~VBGL_IOCTL_FLAG_BIT_MASK)
    143143# define VBOXGUEST_DEVICE_NAME                      "\\Dev\\VBoxGst$"
     144/** Short device name for AttachDD. */
     145# define VBOXGUEST_DEVICE_NAME_SHORT                "VBoxGst$"
    144146
    145147#elif defined(RT_OS_SOLARIS)
     
    915917 *          Some places it's called VBGOS2IDC to short things a bit.
    916918 */
    917 typedef struct VBOXGUESTOS2IDCCONNECT
     919typedef struct VBGLOS2ATTACHDD
    918920{
    919921    /** VBGL_IOC_VERSION. */
     
    971973     */
    972974    RTFAR16 fpfnServiceAsmEP;
    973 } VBOXGUESTOS2IDCCONNECT;
     975} VBGLOS2ATTACHDD;
    974976/** Pointer to VBOXGUESTOS2IDCCONNECT buffer. */
    975 typedef VBOXGUESTOS2IDCCONNECT RT_FAR *PVBOXGUESTOS2IDCCONNECT;
     977typedef VBGLOS2ATTACHDD RT_FAR *PVBGLOS2ATTACHDD;
     978
     979/**
     980 * Prototype for the 16-bit callback returned by AttachDD on OS/2.
     981 * @param   pAttachInfo     Pointer to structure to fill in.
     982 */
     983typedef void (__cdecl RT_FAR_CODE *PFNVBGLOS2ATTACHDD)(PVBGLOS2ATTACHDD pAttachInfo);
    976984#endif /* RT_OS_OS2 */
    977985
     
    10101018        {
    10111019            /** The session handle (opaque). */
     1020#if ARCH_BITS >= 32
    10121021            void    RT_FAR *pvSession;
     1022#else
     1023            uint32_t        pvSession;
     1024#endif
    10131025            /** The version of the I/O control interface for this session
    10141026             * (typically VBGL_IOC_VERSION). */
     
    10541066        {
    10551067            /** The session handle for platforms where this is needed. */
     1068#if ARCH_BITS >= 32
    10561069            void RT_FAR *pvSession;
     1070#else
     1071            uint32_t     pvSession;
     1072#endif
    10571073        } In;
    10581074    } u;
  • trunk/include/VBox/VBoxGuest.inc

    r56291 r68575  
    33;
    44
    5 ;/*
    6 ; Copyright (C) 2006-2015 Oracle Corporation
     5;
     6; Copyright (C) 2006-2017 Oracle Corporation
    77;
    88; This file is part of VirtualBox Open Source Edition (OSE), as
     
    2323; terms and conditions of either the GPL or the CDDL or both.
    2424;
    25 ; */
     25;
    2626
    2727
    2828;; ASSUMES OS/2 for now.
    29 VBOXGUEST_DEVICE_NAME   EQU    "VBoxGst$"
     29VBOXGUEST_DEVICE_NAME_SHORT EQU "VBoxGst$"
    3030
    31 
    32 ;; aka VBOXGUESTOS2IDCCONNECT
    33 VBGOS2IDC STRUC
     31VBGLOS2ATTACHDD STRUC
    3432u32Version         DD ?
    3533u32Session         DD ?
     
    3735fpfnServiceEP      DD ?
    3836fpfnServiceAsmEP   DD ?
    39 VBGOS2IDC ENDS
     37VBGLOS2ATTACHDD ENDS
    4038
     39VBGLREQHDR STRUC
     40cbIn               DD ?
     41uVersion           DD ?
     42uType              DD ?
     43rc                 DD ?
     44cbOut              DD ?
     45uReserved          DD ?
     46VBGLREQHDR ENDS
     47
     48VBGL_IOC_VERSION        EQU     000010000h
    4149
    4250; From VMMDev.h
  • trunk/include/VBox/VBoxGuest.mac

    r68570 r68575  
    2929
    3030%ifdef RT_OS_OS2
    31 %define VBOXGUEST_DEVICE_NAME  "vboxgst$"
     31%define VBOXGUEST_DEVICE_NAME_SHORT "vboxgst$"
    3232
    33 ;; aka VBOXGUESTOS2IDCCONNECT
    34 struc VBGOS2IDC
     33struc VBGLOS2ATTACHDD
    3534    .u32Version         resd 1
    3635    .u32Session         resd 1
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