summaryrefslogtreecommitdiff
path: root/IntelFrameworkModulePkg/Include
diff options
context:
space:
mode:
authorEric Dong <eric.dong@intel.com>2015-10-15 00:57:45 +0000
committerHao Wu <hao.a.wu@intel.com>2016-03-03 14:11:56 +0800
commitff24f60a1c06f1dc6b0f17007281aed032a66405 (patch)
treeedd105e59af7f2332ec8670cefc85cf2fba2e7d6 /IntelFrameworkModulePkg/Include
parentcefcac86ca0e662c43b205ec8266724cc262a831 (diff)
downloadedk2-platforms-ff24f60a1c06f1dc6b0f17007281aed032a66405.tar.xz
IntelFrameworkModulePkg BdsDxe: Use PcdSet##S to replace 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. So for DynamicDefault, we add assert when set failure. For DynamicHii, we add logic to handle it. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18605 6f19259b-4bc3-4df7-8a09-765794883524 (cherry picked from commit 84db9040cc8ba556faec61ad3480c774ca8b984c)
Diffstat (limited to 'IntelFrameworkModulePkg/Include')
0 files changed, 0 insertions, 0 deletions