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:
qwang12
2008-05-23 05:31:39 +00:00
parent 36fe40c2ea
commit 1668bd49c9
5 changed files with 12 additions and 348 deletions

View File

@@ -239,7 +239,7 @@ ISO639TORFC3066MAP Iso639ToRfc3066Map [] = {
};
CHAR8 *
Iso639ToRfc3066 (
ConvertIso639ToRfc3066 (
CHAR8 *Iso638Lang
)
{
@@ -310,7 +310,13 @@ Returns:
}
UnicodeStrToAsciiStr (LanguageString, AsciiLanguage);
Rfc3066AsciiLanguage = Iso639ToRfc3066 (AsciiLanguage);
Rfc3066AsciiLanguage = ConvertIso639ToRfc3066 (AsciiLanguage);
//
// If Rfc3066AsciiLanguage is NULL, more language mapping must be added to
// Iso639ToRfc3066Map.
//
ASSERT (Rfc3066AsciiLanguage != NULL);
//
// Caller of Framework HII Interface uses the Language Identification String defined
// in Iso639. So map it to the Language Identifier defined in RFC3066.
@@ -379,3 +385,4 @@ Returns:
return EFI_UNSUPPORTED;
}