Changeset 100892 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Aug 17, 2023 10:04:15 AM (16 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Security/DevTpm.cpp
r99739 r100892 1638 1638 1639 1639 if (pThisCC->pDrvTpm) 1640 {1641 1640 pThis->fEstablishmentSet = pThisCC->pDrvTpm->pfnGetEstablishedFlag(pThisCC->pDrvTpm); 1642 pThis->cbCmdResp = RT_MIN(pThisCC->pDrvTpm->pfnGetBufferSize(pThisCC->pDrvTpm), TPM_DATA_BUFFER_SIZE_MAX);1643 }1644 1641 } 1645 1642 … … 1655 1652 tpmR3HwReset(pThis); 1656 1653 if (pThisCC->pDrvTpm) 1657 {1658 1654 pThis->fEstablishmentSet = pThisCC->pDrvTpm->pfnGetEstablishedFlag(pThisCC->pDrvTpm); 1659 pThis->cbCmdResp = RT_MIN(pThisCC->pDrvTpm->pfnGetBufferSize(pThisCC->pDrvTpm), TPM_DATA_BUFFER_SIZE_MAX);1660 }1661 1655 } 1662 1656 … … 1750 1744 AssertLogRelMsgReturn(pThisCC->pDrvTpm, ("TPM#%d: Driver is missing the TPM interface.\n", iInstance), VERR_PDM_MISSING_INTERFACE); 1751 1745 1746 pThis->cbCmdResp = RT_MIN(pThisCC->pDrvTpm->pfnGetBufferSize(pThisCC->pDrvTpm), TPM_DATA_BUFFER_SIZE_MAX); 1752 1747 pThis->fLocChangeSup = pThisCC->pDrvTpm->pfnGetLocalityMax(pThisCC->pDrvTpm) > 0; 1753 1748
Note:
See TracChangeset
for help on using the changeset viewer.