Changeset 68575 in vbox
- Timestamp:
- Aug 31, 2017 12:10:54 PM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 117792
- Location:
- trunk/include/VBox
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/VBoxGuest.h
r68573 r68575 142 142 # define VBGL_IOCTL_CODE_STRIPPED(a_uIOCtl) ((a_uIOCtl) & ~VBGL_IOCTL_FLAG_BIT_MASK) 143 143 # define VBOXGUEST_DEVICE_NAME "\\Dev\\VBoxGst$" 144 /** Short device name for AttachDD. */ 145 # define VBOXGUEST_DEVICE_NAME_SHORT "VBoxGst$" 144 146 145 147 #elif defined(RT_OS_SOLARIS) … … 915 917 * Some places it's called VBGOS2IDC to short things a bit. 916 918 */ 917 typedef struct VB OXGUESTOS2IDCCONNECT919 typedef struct VBGLOS2ATTACHDD 918 920 { 919 921 /** VBGL_IOC_VERSION. */ … … 971 973 */ 972 974 RTFAR16 fpfnServiceAsmEP; 973 } VB OXGUESTOS2IDCCONNECT;975 } VBGLOS2ATTACHDD; 974 976 /** Pointer to VBOXGUESTOS2IDCCONNECT buffer. */ 975 typedef VBOXGUESTOS2IDCCONNECT RT_FAR *PVBOXGUESTOS2IDCCONNECT; 977 typedef 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 */ 983 typedef void (__cdecl RT_FAR_CODE *PFNVBGLOS2ATTACHDD)(PVBGLOS2ATTACHDD pAttachInfo); 976 984 #endif /* RT_OS_OS2 */ 977 985 … … 1010 1018 { 1011 1019 /** The session handle (opaque). */ 1020 #if ARCH_BITS >= 32 1012 1021 void RT_FAR *pvSession; 1022 #else 1023 uint32_t pvSession; 1024 #endif 1013 1025 /** The version of the I/O control interface for this session 1014 1026 * (typically VBGL_IOC_VERSION). */ … … 1054 1066 { 1055 1067 /** The session handle for platforms where this is needed. */ 1068 #if ARCH_BITS >= 32 1056 1069 void RT_FAR *pvSession; 1070 #else 1071 uint32_t pvSession; 1072 #endif 1057 1073 } In; 1058 1074 } u; -
trunk/include/VBox/VBoxGuest.inc
r56291 r68575 3 3 ; 4 4 5 ; /*6 ; Copyright (C) 2006-201 5Oracle Corporation5 ; 6 ; Copyright (C) 2006-2017 Oracle Corporation 7 7 ; 8 8 ; This file is part of VirtualBox Open Source Edition (OSE), as … … 23 23 ; terms and conditions of either the GPL or the CDDL or both. 24 24 ; 25 ; */25 ; 26 26 27 27 28 28 ;; ASSUMES OS/2 for now. 29 VBOXGUEST_DEVICE_NAME EQU"VBoxGst$"29 VBOXGUEST_DEVICE_NAME_SHORT EQU "VBoxGst$" 30 30 31 32 ;; aka VBOXGUESTOS2IDCCONNECT 33 VBGOS2IDC STRUC 31 VBGLOS2ATTACHDD STRUC 34 32 u32Version DD ? 35 33 u32Session DD ? … … 37 35 fpfnServiceEP DD ? 38 36 fpfnServiceAsmEP DD ? 39 VBG OS2IDCENDS37 VBGLOS2ATTACHDD ENDS 40 38 39 VBGLREQHDR STRUC 40 cbIn DD ? 41 uVersion DD ? 42 uType DD ? 43 rc DD ? 44 cbOut DD ? 45 uReserved DD ? 46 VBGLREQHDR ENDS 47 48 VBGL_IOC_VERSION EQU 000010000h 41 49 42 50 ; From VMMDev.h -
trunk/include/VBox/VBoxGuest.mac
r68570 r68575 29 29 30 30 %ifdef RT_OS_OS2 31 %define VBOXGUEST_DEVICE_NAME 31 %define VBOXGUEST_DEVICE_NAME_SHORT "vboxgst$" 32 32 33 ;; aka VBOXGUESTOS2IDCCONNECT 34 struc VBGOS2IDC 33 struc VBGLOS2ATTACHDD 35 34 .u32Version resd 1 36 35 .u32Session resd 1
Note:
See TracChangeset
for help on using the changeset viewer.