audk/SecurityPkg/Tcg
Star Zeng fe3ca12d06 SecurityPkg: Use PcdSet##S to instead of PcdSet##
PcdSet## has no error status returned, then the caller has no idea about whether the set operation is successful or not.
PcdSet##S were added to return error status and PcdSet## APIs were put in ifndef DISABLE_NEW_DEPRECATED_INTERFACES condition.
To adopt PcdSet##S and further code development with DISABLE_NEW_DEPRECATED_INTERFACES defined, we need to Replace PcdSet## usage with PcdSet##S.

Normally, DynamicDefault PCD set is expected to be success, but DynamicHii PCD set failure is a legal case.
PcdTpmInitializationPolicy/PcdTcg2HashAlgorithmBitmap/PcdTpm2HashMask/PcdTpmInstanceGuid all have set operation in PEI phase,
PEI phase does not allow DynamicHii PCD set, so DynamicDefault is expected for them and use PcdSet##S to instead of PcdSet## and assert when set failure.

Cc: Jiewen Yao <jiewen.yao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18614 6f19259b-4bc3-4df7-8a09-765794883524
2015-10-16 01:46:19 +00:00
..
MemoryOverwriteControl SecurityPkg/TcgMor: move TPer Reset operation to this module 2015-06-26 08:42:46 +00:00
MemoryOverwriteRequestControlLock Add more strict check for MOR variable, besides MOR lock variable. 2015-09-02 06:29:06 +00:00
PhysicalPresencePei SecurityPkg: Convert non DOS format files to DOS format 2014-09-03 08:51:17 +00:00
Tcg2Config SecurityPkg: Use PcdSet##S to instead of PcdSet## 2015-10-16 01:46:19 +00:00
Tcg2Dxe SecurityPkg: Use pointer instead of array to make code readable. 2015-09-06 06:22:24 +00:00
Tcg2Pei SecurityPkg: Use PcdSet##S to instead of PcdSet## 2015-10-16 01:46:19 +00:00
Tcg2Smm Add TPM2 support defined in trusted computing group. 2015-08-13 08:24:17 +00:00
TcgConfigDxe SecurityPkg: Add default value for TPM action question 2015-07-10 06:19:32 +00:00
TcgDxe SecurityPkg: Correct BootOrder/Boot#### measurement behavior 2015-07-15 02:13:22 +00:00
TcgPei Add performance optimization for Tcg/TrEE. 2015-03-04 01:15:08 +00:00
TcgSmm SecurityPkg: Change TPM MMIO range attribute 2015-07-28 04:49:25 +00:00
TrEEConfig SecurityPkg: Use PcdSet##S to instead of PcdSet## 2015-10-16 01:46:19 +00:00
TrEEDxe SecurityPkg: Correct BootOrder/Boot#### measurement behavior 2015-07-15 02:13:22 +00:00
TrEEPei Add performance optimization for Tcg/TrEE. 2015-03-04 01:15:08 +00:00
TrEESmm SecurityPkg: Change TPM MMIO range attribute 2015-07-28 04:49:25 +00:00