]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SecurityPkg/Tcg/TdTcg2Dxe/TdTcg2Dxe.c
SecurityPkg/TdTcg2Dxe: Extend EFI boot variable to PCR[1]
[mirror_edk2.git] / SecurityPkg / Tcg / TdTcg2Dxe / TdTcg2Dxe.c
index d19923b0c682628f5e7bba0013fcb088124969c3..59341a8c0250f9d878dee06849855b35be2d30fd 100644 (file)
@@ -1873,12 +1873,8 @@ ReadAndMeasureBootVariable (
   OUT     VOID      **VarData\r
   )\r
 {\r
-  //\r
-  // Boot variables are measured into (PCR[5]) RTMR[1],\r
-  // details in section 8.1 of TDVF design guide.\r
-  //\r
   return ReadAndMeasureVariable (\r
-           MapPcrToMrIndex (5),\r
+           MapPcrToMrIndex (1),\r
            EV_EFI_VARIABLE_BOOT,\r
            VarName,\r
            VendorGuid,\r