1) Add BufToHexString, HexStringToBuf and IsHexDigit to BaseLib.
2) Remove the duplicated functions implementation from the modules that reference these APIs git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5284 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -31,7 +31,6 @@ Abstract:
|
||||
#include "UefiIfrParser.h"
|
||||
#include "UefiIfrParserExpressionInternal.h"
|
||||
#include "UefiIfrParserCommon.h"
|
||||
#include "R8Lib.h"
|
||||
|
||||
//
|
||||
// Global stack used to evaluate boolean expresions
|
||||
@@ -657,7 +656,7 @@ IfrToUint (
|
||||
// Hex string
|
||||
//
|
||||
BufferSize = sizeof (UINT64);
|
||||
Status = R8_HexStringToBuf ((UINT8 *) &Result->Value.u64, &BufferSize, StringPtr + 2, NULL);
|
||||
Status = HexStringToBuf ((UINT8 *) &Result->Value.u64, &BufferSize, StringPtr + 2, NULL);
|
||||
} else {
|
||||
//
|
||||
// BUGBUG: Need handle decimal string
|
||||
|
Reference in New Issue
Block a user