Changeset 68570 in vbox for trunk/include
- Timestamp:
- Aug 31, 2017 12:10:39 PM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 117787
- Location:
- trunk/include/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/VBoxGuest.h
r68565 r68570 131 131 # define VBGL_IOCTL_CATEGORY 0xc2 132 132 # define VBGL_IOCTL_CODE_SIZE(Function, Size) ((unsigned char)(Function)) 133 # define VBGL_IOCTL_CODE_BIG(Function) ((unsigned char)(Function)) 133 134 # define VBGL_IOCTL_CATEGORY_FAST 0xc3 /**< Also defined in VBoxGuestA-os2.asm. */ 134 135 # define VBGL_IOCTL_CODE_FAST(Function) ((unsigned char)(Function)) … … 318 319 } VBGLIOCDRIVERVERSIONINFO, *PVBGLIOCDRIVERVERSIONINFO; 319 320 AssertCompileSize(VBGLIOCDRIVERVERSIONINFO, 24 + 20); 321 #ifndef RT_OS_OS2 /* figure this one out... */ 320 322 AssertCompile(VBGL_IOCTL_DRIVER_VERSION_INFO_SIZE_IN == 24 + 16); 323 #endif 321 324 /** @} */ 322 325 … … 393 396 } VBGLIOCHGCMCONNECT, *PVBGLIOCHGCMCONNECT; 394 397 AssertCompileSize(VBGLIOCHGCMCONNECT, 24 + 132); 398 #ifndef RT_OS_OS2 /* figure this one out... */ 395 399 AssertCompile(VBGL_IOCTL_HGCM_CONNECT_SIZE_OUT == 24 + 4); 400 #endif 396 401 /** @} */ 397 402 … … 906 911 typedef struct VBOXGUESTOS2IDCCONNECT 907 912 { 908 /** V MMDEV_VERSION. */913 /** VBGL_IOC_VERSION. */ 909 914 uint32_t u32Version; 910 915 /** Opaque session handle. */ … … 915 920 * 916 921 * @returns VBox status code. 917 * @param u32Session The above session handle.922 * @param u32Session The session handle (PVBOXGUESTSESSION). 918 923 * @param iFunction The requested function. 919 * @param pvData The input/output data buffer. The caller ensures that this 920 * cannot be swapped out, or that it's acceptable to take a 921 * page in fault in the current context. If the request doesn't 922 * take input or produces output, apssing NULL is okay. 923 * @param cbData The size of the data buffer. 924 * @param pcbDataReturned Where to store the amount of data that's returned. 925 * This can be NULL if pvData is NULL. 926 * @todo fix parameters 924 * @param pReqHdr The input/output data buffer. The caller 925 * ensures that this cannot be swapped out, or that 926 * it's acceptable to take a page in fault in the 927 * current context. If the request doesn't take 928 * input or produces output, apssing NULL is okay. 929 * @param cbReq The size of the data buffer. 927 930 */ 928 DECLCALLBACKMEMBER(int, pfnServiceEP)(uint32_t u32Session, unsigned iFunction, void *pvData, size_t cbData, size_t *pcbDataReturned);931 DECLCALLBACKMEMBER(int, pfnServiceEP)(uint32_t u32Session, unsigned iFunction, PVBGLREQHDR pReqHdr, size_t cbReq); 929 932 930 933 /** The 16-bit service entry point for C code (cdecl). … … 936 939 * int far cdecl 937 940 * VBoxGuestOs2IDCService16(uint32_t u32Session, uint16_t iFunction, 938 * void far *fpvData, uint16_t cbData, uint16_t far *pcbDataReturned);941 * PVBGLREQHDR fpvData, uint16_t cbData); 939 942 * @endcode 940 943 */ … … 1010 1013 } VBGLIOCIDCCONNECT, *PVBGLIOCIDCCONNECT; 1011 1014 AssertCompileSize(VBGLIOCIDCCONNECT, 24 + 16 + ARCH_BITS / 8 * 2); 1015 #ifndef RT_OS_OS2 /* figure this one out... */ 1012 1016 AssertCompile(VBGL_IOCTL_IDC_CONNECT_SIZE_IN == 24 + 16); 1017 #endif 1013 1018 #define VBGL_IOCTL_IDC_CONNECT_MAGIC_COOKIE UINT32_C(0x55aa4d5a) /**< Magic value for doing an IDC connect. */ 1014 1019 /** @} */ -
trunk/include/VBox/VBoxGuest.mac
r62476 r68570 42 42 %endif ; RT_OS_OS2 43 43 44 struc VBGLREQHDR 45 .cbIn resd 1 46 .uVersion resd 1 47 .uType resd 1 48 .rc resd 1 49 .cbOut resd 1 50 .uReserved resd 1 51 endstruc 52 53 %define VBGL_IOC_VERSION 000010000h 54 44 55 ; From VMMDev.h 45 56 %define VMMDEV_VERSION_MAJOR 1
Note:
See TracChangeset
for help on using the changeset viewer.