Changeset 80437 in vbox for trunk/src/VBox/Devices/VirtIO/Virtio_1_0.h
- Timestamp:
- Aug 27, 2019 8:44:58 AM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 132925
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/VirtIO/Virtio_1_0.h
r80383 r80437 37 37 #define VIRTQ_MAX_SIZE 1024 /**< Max size (# desc elements) of a virtq */ 38 38 #define VIRTQ_MAX_CNT 24 /**< Max queues we allow guest to create */ 39 40 39 #define VIRTIO_NOTIFY_OFFSET_MULTIPLIER 2 /**< VirtIO Notify Cap. MMIO config param */ 41 40 #define VIRTIOSCSI_REGION_MEM_IO 0 /**< BAR for MMIO (implementation specific) */ … … 214 213 * @param hVirtio - Handle for VirtIO framework 215 214 * @param qIdx - Queue number 215 * @param pSgBuf - Caller's sgbuf of one or more virtual memory segments 216 * to write to the queue. This is useful because some kinds 217 * of transactions involve variable length sub-components 218 * whose size can only be known near the time of writing. 219 * @parame fFence - If set put up copy fence (memory barrier) after 220 * copying to guest phys. mem. 216 221 * 217 222 * @returns VINF_SUCCESS - Success … … 219 224 * VERR_NOT_AVAILABLE - Queue is empty 220 225 */ 221 int virtioQueuePut(VIRTIOHANDLE hVirtio, uint16_t qIdx, uint32_t cb);226 int virtioQueuePut(VIRTIOHANDLE hVirtio, uint16_t qIdx, PRTSGBUF pSgBuf, bool fFence); 222 227 223 228 /**
Note:
See TracChangeset
for help on using the changeset viewer.