Changeset 80596 in vbox for trunk/src/VBox/Devices/VirtIO/Virtio_1_0.h
- Timestamp:
- Sep 5, 2019 7:12:46 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/VirtIO/Virtio_1_0.h
r80522 r80596 41 41 #define VIRTIOSCSI_REGION_PORT_IO 1 /**< BAR for PORT I/O (impl specific) */ 42 42 #define VIRTIOSCSI_REGION_PCI_CAP 2 /**< BAR for VirtIO Cap. MMIO (impl specific) */ 43 44 #define VIRTIO_HEX_DUMP(logLevel, pv, cb, base, title) \ 45 do { \ 46 if (LogIsItEnabled(logLevel, LOG_GROUP)) \ 47 virtioHexDump((pv), (cb), (base), (title)); \ 48 } while (0) 43 49 44 50 /** … … 320 326 bool fWrite, bool fHasIndex, uint32_t idx); 321 327 328 /** 329 * Does a formatted hex dump using Log(()), recommend using VIRTIO_HEX_DUMP() macro to 330 * control enabling of logging efficiently. 331 * 332 * @param pv - pointer to buffer to dump contents of 333 * @param cb - count of characters to dump from buffer 334 * @param uBase - base address of per-row address prefixing of hex output 335 * @param pszTitle - Optional title. If present displays title that lists 336 * provided text with value of cb to indicate size next to it. 337 */ 338 void virtioHexDump(uint8_t *pv, size_t cb, uint32_t uBase, const char *pszTitle); 322 339 323 340 #endif /* !VBOX_INCLUDED_SRC_VirtIO_Virtio_1_0_h */
Note:
See TracChangeset
for help on using the changeset viewer.