summaryrefslogtreecommitdiff
path: root/IntelFspWrapperPkg/IntelFspWrapperPkg.dsc
diff options
context:
space:
mode:
authorHao Wu <hao.a.wu@intel.com>2016-12-12 08:58:51 +0800
committerHao Wu <hao.a.wu@intel.com>2017-01-09 13:59:12 +0800
commitd8af3301a648df3b4eea6933a46f56f1853367d6 (patch)
tree6c2c1fd8e4fd72ec8e13cae4d4ef3ae17f8632b6 /IntelFspWrapperPkg/IntelFspWrapperPkg.dsc
parentb590e43ab62775f2127e70ed28c33462599cd508 (diff)
downloadedk2-platforms-d8af3301a648df3b4eea6933a46f56f1853367d6.tar.xz
MdePkg/BaseLib: Add safe string functions that convert str to value
Add the following 8 APIs: [Ascii]StrDecimalToUintnS [Ascii]StrDecimalToUint64S [Ascii]StrHexToUintnS [Ascii]StrHexToUint64S These safe version APIs are used to enhance their counterpart (APIs without trailing 'S' in function names). These safe version APIs perform checks to the input string and will return relative status to reflect the check result: When the input string exceeds the range of UINTN/64, these APIs will return RETURN_UNSUPPORTED and store MAX_UINTN/64 in the output data. When no conversion can be performed for the input string, these APIs will return RETURN_SUCCESS and store 0 in the output data. The optional parameter 'EndPointer', if provided, will point to the character that stopped the scan. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a.wu@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Diffstat (limited to 'IntelFspWrapperPkg/IntelFspWrapperPkg.dsc')
0 files changed, 0 insertions, 0 deletions