Tracker merger. "There is no "NV" display when change the certain option in NT32"
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3788 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -341,31 +341,32 @@ ProcessOptions (
|
||||
//
|
||||
if (!Tag->Suppress && !Tag->GrayOut) {
|
||||
CopyMem (NvRamMap, &Number, MenuOption->ThisTag->StorageWidth);
|
||||
break;
|
||||
}
|
||||
break;
|
||||
} else {
|
||||
|
||||
StringPtr = GetToken (PopUp, MenuOption->Handle);
|
||||
|
||||
CreatePopUp (GetStringWidth (StringPtr) / 2, 3, &NullCharacter, StringPtr, &NullCharacter);
|
||||
|
||||
do {
|
||||
Status = WaitForKeyStroke (&Key);
|
||||
|
||||
switch (Key.UnicodeChar) {
|
||||
|
||||
case CHAR_CARRIAGE_RETURN:
|
||||
//
|
||||
// Since the value can be one byte long or two bytes long, do a CopyMem based on StorageWidth
|
||||
//
|
||||
CopyMem (NvRamMap, &Number, MenuOption->ThisTag->StorageWidth);
|
||||
FreePool (StringPtr);
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
} while (Key.UnicodeChar != CHAR_CARRIAGE_RETURN);
|
||||
}
|
||||
|
||||
StringPtr = GetToken (PopUp, MenuOption->Handle);
|
||||
|
||||
CreatePopUp (GetStringWidth (StringPtr) / 2, 3, &NullCharacter, StringPtr, &NullCharacter);
|
||||
|
||||
do {
|
||||
Status = WaitForKeyStroke (&Key);
|
||||
|
||||
switch (Key.UnicodeChar) {
|
||||
|
||||
case CHAR_CARRIAGE_RETURN:
|
||||
//
|
||||
// Since the value can be one byte long or two bytes long, do a CopyMem based on StorageWidth
|
||||
//
|
||||
CopyMem (NvRamMap, &Number, MenuOption->ThisTag->StorageWidth);
|
||||
FreePool (StringPtr);
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
} while (Key.UnicodeChar != CHAR_CARRIAGE_RETURN);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user