]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg: Move TpmMeasurementLib LibraryClass from SecurityPkg
authorStar Zeng <star.zeng@intel.com>
Wed, 1 Jul 2015 03:01:34 +0000 (03:01 +0000)
committerlzeng14 <lzeng14@Edk2>
Wed, 1 Jul 2015 03:01:34 +0000 (03:01 +0000)
commit308521b1335442e46cb97deef3824bdad07c5694
treeb8c47e4495915bf5ae546af061a92387480c4e2b
parent4eebb8632aa596944b851295f32c5d78eb011ba6
MdeModulePkg: Move TpmMeasurementLib LibraryClass from SecurityPkg

What to do:
1. Move TpmMeasurementLib LibraryClass from SecurityPkg to MdeModulePkg.
2. Implement a NULL TpmMeasurementLib library instance.

Why to do:
1. Share code.
We are moving forward to separate auth variable service from Auth Variable
driver in SecurityPkg to AuthVariableLib. Then the AuthVariableLib could benefit
and be used by different implementation of Auth Variable drivers.
2. Remove code duplication and reduce maintenance effort.
After auth variable service separated from Auth Variable driver in SecurityPkg
to AuthVariableLib. The remaining code logic of Auth Variable driver in SecurityPkg
will be almost same with Variable driver in MdeModulePkg. We are going to
merge them.
3. TpmMeasurementLib is consumed by Auth Variable driver in SecurityPkg now,
as Auth Variable driver in SecurityPkg will be merged to Variable driver in
MdeModulePkg, so the library class also needs to be moved to MdeModulePkg.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17753 6f19259b-4bc3-4df7-8a09-765794883524
MdeModulePkg/Include/Library/TpmMeasurementLib.h [new file with mode: 0644]
MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.c [new file with mode: 0644]
MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf [new file with mode: 0644]
MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.uni [new file with mode: 0644]
MdeModulePkg/MdeModulePkg.dec
MdeModulePkg/MdeModulePkg.dsc