Changeset 70605 in vbox
- Timestamp:
- Jan 16, 2018 6:03:23 PM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 120316
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/HGSMI/HGSMICommon.cpp
r69391 r70605 282 282 typedef struct HGSMIBUFFERCONTEXT 283 283 { 284 const HGSMIBUFFERHEADER *pHeader; /*The original buffer header. */285 void *pvData; /*Payload data in the buffer./ */286 uint32_t cbData; /*Size of data */284 const volatile HGSMIBUFFERHEADER *pHeader; /**< The original buffer header. */ 285 void *pvData; /**< Payload data in the buffer./ */ 286 uint32_t cbData; /**< Size of data */ 287 287 } HGSMIBUFFERCONTEXT; 288 288 … … 315 315 void *pvBuffer = HGSMIOffsetToPointer(pArea, offBuffer); 316 316 HGSMIBUFFERHEADER header = *HGSMIBufferHeaderFromPtr(pvBuffer); 317 ASMCompilerBarrier(); 317 318 318 319 /* Quick check of the data size, it should be less than the maximum … … 325 326 { 326 327 HGSMIBUFFERTAIL tail = *HGSMIBufferTailFromPtr(pvBuffer, header.u32DataSize); 328 ASMCompilerBarrier(); 327 329 328 330 /* At least both header and tail structures are in the area. Check the checksum. */
Note:
See TracChangeset
for help on using the changeset viewer.