diff options
author | Eric Dong <eric.dong@intel.com> | 2015-10-15 00:56:41 +0000 |
---|---|---|
committer | ydong10 <ydong10@Edk2> | 2015-10-15 00:56:41 +0000 |
commit | 377680ae64bd6f702bfac7c98e65f73019b7d285 (patch) | |
tree | 8a06470bc3dffc15011376d116368be7880ae04f /Maintainers.txt | |
parent | 1e69581335354a7df3bc07b21e495b0b3c5909c0 (diff) | |
download | edk2-377680ae64bd6f702bfac7c98e65f73019b7d285.zip edk2-377680ae64bd6f702bfac7c98e65f73019b7d285.tar.gz edk2-377680ae64bd6f702bfac7c98e65f73019b7d285.tar.bz2 |
MdeModulePkg: 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.
Cc: Star Zeng <star.zeng@intel.com>
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@18603 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Maintainers.txt')
0 files changed, 0 insertions, 0 deletions