- Timestamp:
- Jan 6, 2025 5:01:30 PM (13 days ago)
- Location:
- trunk/src/VBox/Devices/Security
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Security/DrvTpmEmu.cpp
r106259 r107428 961 961 962 962 /* Limit to the maximum buffer size of the device above. */ 963 pThis->cbBuffer = RT_MIN(pThis->cbBuffer, pThis->pTpmPort->pfnGetMaxBufferSize(pThis->pTpmPort)); 963 uint32_t const cbTpmBufferMax = pThis->pTpmPort->pfnGetMaxBufferSize(pThis->pTpmPort); 964 pThis->cbBuffer = RT_MIN(pThis->cbBuffer, cbTpmBufferMax); 964 965 965 966 /* Set the buffer size. */ -
trunk/src/VBox/Devices/Security/DrvTpmEmuTpms.cpp
r106259 r107428 544 544 545 545 /* Limit to the buffer size of the device above. */ 546 pThis->cbBuffer = RT_MIN(pThis->cbBuffer, pThis->pTpmPort->pfnGetMaxBufferSize(pThis->pTpmPort)); 546 uint32_t const cbTpmBufferMax = pThis->pTpmPort->pfnGetMaxBufferSize(pThis->pTpmPort); 547 pThis->cbBuffer = RT_MIN(pThis->cbBuffer, cbTpmBufferMax); 547 548 548 549 uint32_t cbBufferMin = 0;
Note:
See TracChangeset
for help on using the changeset viewer.