]> git.proxmox.com Git - mirror_edk2.git/commit - SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.c
SecurityPkg: Add TPM PTP support in TCG2 SMM.
authorYao, Jiewen <jiewen.yao@intel.com>
Tue, 26 Jan 2016 01:30:17 +0000 (01:30 +0000)
committerjyao1 <jyao1@Edk2>
Tue, 26 Jan 2016 01:30:17 +0000 (01:30 +0000)
commitd967d6d96fc18d7a53d32223f5813b12cda19e8d
tree39dc9b51087d2e840632d680ed7737ca8ba485fa
parent79e748cf29f6d9a92f28d44d20eef8d6c24c4092
SecurityPkg: Add TPM PTP support in TCG2 SMM.

TPM2 hardware may support PTP FIFO/TIS interface
or PTP CRB interface. The original ACPI table only
handles PTP FIFO/TIS interface. This patch adds
PTP CRB interface support.
The current logic is that SMM driver will runtime
detect TPM device interface (CRB or FIFO/TIS) and
publish TPM2 table based on result.

It is compatible for old TPM2 FIFO/TIS device and
new TPM2 CRB device.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Yao, Jiewen" <jiewen.yao@intel.com>
Reviewed-by: "Zhang, Chao B" <chao.b.zhang@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19741 6f19259b-4bc3-4df7-8a09-765794883524
SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.c
SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.h
SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.inf
SecurityPkg/Tcg/Tcg2Smm/Tpm.asl