Changeset 33116 in vbox for trunk/include
- Timestamp:
- Oct 13, 2010 9:06:35 PM (14 years ago)
- Location:
- trunk/include/VBox
- Files:
-
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/HostServices/VBoxCrOpenGLSvc.h
r30440 r33116 56 56 #define SHCRGL_CPARMS_INJECT (2) 57 57 58 #ifdef VBOX_WITH_CRHGSMI 59 #pragma pack(1) 60 typedef struct 61 { 62 int32_t result; /**< OUT Host HGSMI return code.*/ 63 uint32_t u32ClientID; /**< IN The id of the caller. */ 64 uint32_t u32Function; /**< IN Function number. */ 65 uint32_t u32Reserved; 66 } CRVBOXHGSMIHDR; 67 AssertCompileSize(CRVBOXHGSMIHDR, 16); 68 69 /** GUEST_FN_WRITE Parameters structure. */ 70 typedef struct 71 { 72 CRVBOXHGSMIHDR hdr; 73 /** buffer index, in 74 * Data buffer 75 */ 76 uint32_t iBuffer; 77 } CRVBOXHGSMIWRITE; 78 79 /** GUEST_FN_READ Parameters structure. */ 80 typedef struct 81 { 82 CRVBOXHGSMIHDR hdr; 83 84 /** buffer index, in/out 85 * Data buffer 86 */ 87 uint32_t iBuffer; 88 uint32_t cbBuffer; 89 } CRVBOXHGSMIREAD; 90 91 /** GUEST_FN_WRITE_READ Parameters structure. */ 92 typedef struct 93 { 94 CRVBOXHGSMIHDR hdr; 95 96 /** buffer index, in 97 * Data buffer 98 */ 99 uint32_t iBuffer; 100 101 /** buffer index, out 102 * Writeback buffer 103 */ 104 uint32_t iWriteback; 105 uint32_t cbWriteback; 106 } CRVBOXHGSMIWRITEREAD; 107 108 /** GUEST_FN_SET_VERSION Parameters structure. */ 109 typedef struct 110 { 111 CRVBOXHGSMIHDR hdr; 112 113 /** 32bit, in 114 * Major version 115 */ 116 uint32_t vMajor; 117 118 /** 32bit, in 119 * Minor version 120 */ 121 uint32_t vMinor; 122 } CRVBOXHGSMISETVERSION; 123 124 /** GUEST_FN_INJECT Parameters structure. */ 125 typedef struct 126 { 127 CRVBOXHGSMIHDR hdr; 128 129 /** 32bit, in 130 * ClientID to inject commands buffer for 131 */ 132 uint32_t u32ClientID; 133 /** buffer index, in 134 * Data buffer 135 */ 136 uint32_t iBuffer; 137 } CRVBOXHGSMIINJECT; 138 #pragma pack() 139 #endif 58 140 /** 59 141 * SHCRGL_GUEST_FN_WRITE -
trunk/include/VBox/VBoxUhgsmi.h
r32942 r33116 23 23 typedef enum 24 24 { 25 VBOXUHGSMI_SYNCHOBJECT_TYPE_ UNKNOWN= 0,25 VBOXUHGSMI_SYNCHOBJECT_TYPE_NONE = 0, 26 26 VBOXUHGSMI_SYNCHOBJECT_TYPE_EVENT, 27 27 VBOXUHGSMI_SYNCHOBJECT_TYPE_SEMAPHORE … … 53 53 uint32_t bHostReadOnly : 1; 54 54 uint32_t bHostWriteOnly : 1; 55 uint32_t bDoNotRetire : 1; /* <- the buffer will be use din a subsequent command */55 uint32_t bDoNotRetire : 1; /* <- the buffer will be uset in a subsequent command */ 56 56 uint32_t bDoNotSignalCompletion : 1; /* <- do not signal notification object on completion for this alloc */ 57 uint32_t bEntireBuffer : 1; /* <- do not signal notification object on completion for this alloc */57 uint32_t bEntireBuffer : 1; 58 58 uint32_t Reserved : 27; 59 59 }; … … 93 93 PFNVBOXUHGSMI_BUFFER_CREATE pfnBufferCreate; 94 94 PFNVBOXUHGSMI_BUFFER_SUBMIT_ASYNCH pfnBufferSubmitAsynch; 95 /* user custom data */ 96 void *pvUserData; 95 97 } VBOXUHGSMI, *PVBOXUHGSMI; 96 98 … … 107 109 uint32_t cbBuffer; 108 110 bool bSynchCreated; 111 /* user custom data */ 112 void *pvUserData; 109 113 } VBOXUHGSMI_BUFFER, *PVBOXUHGSMI_BUFFER; 110 114
Note:
See TracChangeset
for help on using the changeset viewer.