diff options
author | Michael Kinney <michael.d.kinney@intel.com> | 2015-10-27 16:15:03 +0000 |
---|---|---|
committer | mdkinney <mdkinney@Edk2> | 2015-10-27 16:15:03 +0000 |
commit | 9838b0161d3d1dfc9903f24ea5dc993dd0792325 (patch) | |
tree | 10e5b9160d90ea214e949779ead5f4e801ff9898 /IntelFspWrapperPkg | |
parent | 7fe513896e16b560c5f1551e3f4bfffcb197b53b (diff) | |
download | edk2-platforms-9838b0161d3d1dfc9903f24ea5dc993dd0792325.tar.xz |
UefiCpuPkg: PiSmmCpuDxeSmm: Replace PcdSet## with PcdSet##S
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. So for DynamicDefault, we add assert
when set failure. For DynamicHii, we add logic to handle it.
Cc: "Yao, Jiewen" <jiewen.yao@intel.com>
Cc: Jeff Fan <jeff.fan@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Michael Kinney <michael.d.kinney@intel.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18686 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFspWrapperPkg')
0 files changed, 0 insertions, 0 deletions