Changeset 52023 in vbox for trunk/include/VBox
- Timestamp:
- Jul 14, 2014 9:00:18 PM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 94998
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/pdmifs.h
r51836 r52023 1136 1136 */ 1137 1137 DECLR3CALLBACKMEMBER(int, pfnDiscard,(PPDMIBLOCK pInterface, PCRTRANGE paRanges, unsigned cRanges)); 1138 1139 /** 1140 * Allocate buffer memory which is suitable for I/O and might have special proerties for secure 1141 * environments (non-pageable memory for sensitive data which should not end up on the disk). 1142 * 1143 * @returns VBox status code. 1144 * @param pInterface Pointer to the interface structure containing the called function pointer. 1145 * @param cb Amount of memory to allocate. 1146 * @param ppvNew Where to store the pointer to the buffer on success. 1147 */ 1148 DECLR3CALLBACKMEMBER(int, pfnIoBufAlloc, (PPDMIBLOCK pInterface, size_t cb, void **ppvNew)); 1149 1150 /** 1151 * Free memory allocated with PDMIBLOCK::pfnIoBufAlloc(). 1152 * 1153 * @returns VBox status code. 1154 * @param pInterface Pointer to the interface structure containing the called function pointer. 1155 * @param pv Pointer to the memory to free. 1156 * @param cb Amount of bytes given in PDMIBLOCK::pfnIoBufAlloc(). 1157 */ 1158 DECLR3CALLBACKMEMBER(int, pfnIoBufFree, (PPDMIBLOCK pInterface, void *pv, size_t cb)); 1159 1138 1160 } PDMIBLOCK; 1139 1161 /** PDMIBLOCK interface ID. */ 1140 #define PDMIBLOCK_IID " 5e7123dd-8cdf-4a6e-97a5-ab0c68d7e850"1162 #define PDMIBLOCK_IID "4e804e8e-3c01-4f20-98d9-a30ece8ec9f5" 1141 1163 1142 1164 … … 1494 1516 DECLR3CALLBACKMEMBER(int, pfnDiscard,(PPDMIMEDIA pInterface, PCRTRANGE paRanges, unsigned cRanges)); 1495 1517 1518 /** 1519 * Allocate buffer memory which is suitable for I/O and might have special proerties for secure 1520 * environments (non-pageable memory for sensitive data which should not end up on the disk). 1521 * 1522 * @returns VBox status code. 1523 * @param pInterface Pointer to the interface structure containing the called function pointer. 1524 * @param cb Amount of memory to allocate. 1525 * @param ppvNew Where to store the pointer to the buffer on success. 1526 */ 1527 DECLR3CALLBACKMEMBER(int, pfnIoBufAlloc, (PPDMIMEDIA pInterface, size_t cb, void **ppvNew)); 1528 1529 /** 1530 * Free memory allocated with PDMIMEDIA::pfnIoBufAlloc(). 1531 * 1532 * @returns VBox status code. 1533 * @param pInterface Pointer to the interface structure containing the called function pointer. 1534 * @param pv Pointer to the memory to free. 1535 * @param cb Amount of bytes given in PDMIMEDIA::pfnIoBufAlloc(). 1536 */ 1537 DECLR3CALLBACKMEMBER(int, pfnIoBufFree, (PPDMIMEDIA pInterface, void *pv, size_t cb)); 1538 1496 1539 } PDMIMEDIA; 1497 1540 /** PDMIMEDIA interface ID. */ 1498 #define PDMIMEDIA_IID " ec385d21-7aa9-42ca-8cfb-e1388297fa52"1541 #define PDMIMEDIA_IID "b4acf420-c9e3-4333-9ed5-e86f6b2d5f1a" 1499 1542 1500 1543
Note:
See TracChangeset
for help on using the changeset viewer.