SecurityPkg/Tpm12CommandLib: Add TPM 1.2 commands used by TCG modules
authorMichael Kinney <michael.d.kinney@intel.com>
Thu, 21 Jan 2016 19:30:05 +0000 (19:30 +0000)
committermdkinney <mdkinney@Edk2>
Thu, 21 Jan 2016 19:30:05 +0000 (19:30 +0000)
commit83b9662fb0086841d4f6220147bbf78966c38c56
tree169958edb81cb55c8e5c38d72afa3982e120dd46
parente7c83012fd664fdf5312099441e6c02f1bf28592
SecurityPkg/Tpm12CommandLib: Add TPM 1.2 commands used by TCG modules

Add the following APIs that are required by TcgPei and/or TcgDxe to
the Tpm12CommandLib instance:
  Tpm12Extend()
  Tpm12PhysicalPresence()
  Tpm12ContinueSelfTest()
  Tpm12GetCapabilityFlagPermanent()
  Tpm12GetCapabilityFlagVolatile()

Cc: Chao Zhang <chao.b.zhang@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Michael Kinney <michael.d.kinney@intel.com>
Reviewed-by: Chao Zhang <chao.b.zhang@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19727 6f19259b-4bc3-4df7-8a09-765794883524
SecurityPkg/Library/Tpm12CommandLib/Tpm12CommandLib.inf
SecurityPkg/Library/Tpm12CommandLib/Tpm12GetCapability.c [new file with mode: 0644]
SecurityPkg/Library/Tpm12CommandLib/Tpm12NvStorage.c
SecurityPkg/Library/Tpm12CommandLib/Tpm12Ownership.c
SecurityPkg/Library/Tpm12CommandLib/Tpm12Pcr.c [new file with mode: 0644]
SecurityPkg/Library/Tpm12CommandLib/Tpm12PhysicalPresence.c [new file with mode: 0644]
SecurityPkg/Library/Tpm12CommandLib/Tpm12SelfTest.c [new file with mode: 0644]
SecurityPkg/Library/Tpm12CommandLib/Tpm12Startup.c