]> git.proxmox.com Git - mirror_edk2.git/commitdiff
SecurityPkg/dsc: Add PCD for Laml, Lasa for TPM2.
authorJiewen Yao <jiewen.yao@intel.com>
Sat, 28 Sep 2019 11:54:43 +0000 (19:54 +0800)
committerJiewen Yao <jiewen.yao@intel.com>
Fri, 11 Oct 2019 02:06:51 +0000 (10:06 +0800)
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=978

Those PCDs will be used for TPM2 ACPI table.
Tcg2Dxe need produce those for event log address.
Tcg2Smm need consume those to fill TPM2 ACPI table.

Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Chao Zhang <chao.b.zhang@intel.com>
Signed-off-by: Jiewen Yao <jiewen.yao@intel.com>
Reviewed-by: Jian J Wang <jian.j.wang@intel.com>
SecurityPkg/SecurityPkg.dec
SecurityPkg/SecurityPkg.uni

index 6dbaff1a0cac3088eacabaec609ed74be66923bd..8249bf0220004a63da7ce9a00b2a85f806e5b5df 100644 (file)
   # @Prompt IdleByass status supported by current active TPM interface.\r
   gEfiSecurityPkgTokenSpaceGuid.PcdCRBIdleByPass|0xFF|UINT8|0x0001001F\r
 \r
+  ## This PCD records LAML field in TPM2 ACPI table.\r
+  # @Prompt Tpm2AcpiTableLaml LAML field in TPM2 ACPI table.\r
+  gEfiSecurityPkgTokenSpaceGuid.PcdTpm2AcpiTableLaml|0|UINT32|0x00010022\r
+\r
+  ## This PCD records LASA field in TPM2 ACPI table.\r
+  # @Prompt Tpm2AcpiTableLasa LASA field in TPM2 ACPI table.\r
+  gEfiSecurityPkgTokenSpaceGuid.PcdTpm2AcpiTableLasa|0|UINT64|0x00010023\r
+\r
 [UserExtensions.TianoCore."ExtraFiles"]\r
   SecurityPkgExtra.uni\r
index 14077fbc2834b888f0e2b27473c86c1ef4f42d61..ee79b98f0d5586627b0e7e6bb4a7517ff26126f9 100644 (file)
                                                                                           "  TRUE  - Skip password prompt.\n"\r
                                                                                           "  FALSE - Does not skip password prompt.\n"\r
 \r
+#string STR_gEfiSecurityPkgTokenSpaceGuid_PcdTpm2AcpiTableLaml_PROMPT  #language en-US "The LAML of TPM2 ACPI table"\r
+\r
+#string STR_gEfiSecurityPkgTokenSpaceGuid_PcdTpm2AcpiTableLaml_HELP  #language en-US "This PCD defines LAML of TPM2 ACPI table\n\n"\r
+                                                                                     "0 means this field is unsupported\n"\r
+\r
+#string STR_gEfiSecurityPkgTokenSpaceGuid_PcdTpm2AcpiTableLasa_PROMPT  #language en-US "The LASA of TPM2 ACPI table"\r
+\r
+#string STR_gEfiSecurityPkgTokenSpaceGuid_PcdTpm2AcpiTableLasa_HELP  #language en-US "This PCD defines LASA of TPM2 ACPI table\n\n"\r
+                                                                                     "0 means this field is unsupported\n"\r