Sync the migration tool setting files with the definitions in latest UEFI 2.1 specification and the code in latest EDK II source tree.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4446 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qwang12
2007-12-28 08:01:58 +00:00
parent 63245e966f
commit bbfa12f16e
5 changed files with 27 additions and 11 deletions

View File

@ -326,7 +326,7 @@ R8_HexStringToBuf (
//
// Find out how many hex characters the string has.
//
for (Idx = 0, HexCnt = 0; IsHexDigit (&Digit, Str[Idx]); Idx++, HexCnt++);
for (Idx = 0, HexCnt = 0; R8_IsHexDigit (&Digit, Str[Idx]); Idx++, HexCnt++);
if (HexCnt == 0) {
*Len = 0;
@ -349,7 +349,7 @@ R8_HexStringToBuf (
for (Idx = 0; Idx < HexCnt; Idx++) {
IsHexDigit (&Digit, Str[HexCnt - 1 - Idx]);
R8_IsHexDigit (&Digit, Str[HexCnt - 1 - Idx]);
//
// For odd charaters, write the lower nibble for each buffer byte,