VirtualBox

Changeset 102995 in vbox for trunk/src


Ignore:
Timestamp:
Jan 23, 2024 7:54:57 AM (11 months ago)
Author:
vboxsync
Message:

Devices/Security/DevTpm: Addendum for r161223, need to keep the version distinction in the interface ID register so Windows 11 detects the TPM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Security/DevTpm.cpp

    r102991 r102995  
    803803                  | TPM_FIFO_LOCALITY_REG_INTF_ID_CAP_DATA_XFER_SZ_SET(TPM_FIFO_LOCALITY_REG_INTF_ID_CAP_DATA_XFER_SZ_64B)
    804804                  | TPM_FIFO_LOCALITY_REG_INTF_ID_IF_SEL_GET(TPM_FIFO_LOCALITY_REG_INTF_ID_IF_SEL_FIFO)
    805                   | TPM_FIFO_LOCALITY_REG_INTF_ID_IF_SEL_LOCK
    806                   | TPM_FIFO_LOCALITY_REG_INTF_ID_IF_TYPE_SET(TPM_FIFO_LOCALITY_REG_INTF_ID_IF_TYPE_TIS1_3);
     805                  | TPM_FIFO_LOCALITY_REG_INTF_ID_IF_SEL_LOCK;
     806            if (pThis->enmTpmVers == TPMVERSION_1_2)
     807                u64 |= TPM_FIFO_LOCALITY_REG_INTF_ID_IF_TYPE_SET(TPM_FIFO_LOCALITY_REG_INTF_ID_IF_TYPE_TIS1_3);
     808            else
     809                u64 |= TPM_FIFO_LOCALITY_REG_INTF_ID_IF_TYPE_SET(TPM_FIFO_LOCALITY_REG_INTF_ID_IF_TYPE_FIFO_TPM20);
    807810
    808811            if (pThis->fLocChangeSup) /* Only advertise the locality capability if the driver below supports it. */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette