Clarify an error in Map command.
Revert a change in Map command that affected some consistent map names being printed correctly. Fix a library instance mapping in DSC. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11675 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@ -347,7 +347,7 @@ MappingListHasType(
|
||||
if ( Consist
|
||||
&& (SearchList(MapList, L"HD*", NULL, TRUE, TRUE, L";")
|
||||
||SearchList(MapList, L"CD*", NULL, TRUE, TRUE, L";")
|
||||
||SearchList(MapList, L"AnyF*", NULL, TRUE, TRUE, L";")
|
||||
||SearchList(MapList, L"F*", NULL, TRUE, TRUE, L";")
|
||||
||SearchList(MapList, L"FP*", NULL, TRUE, TRUE, L";"))){
|
||||
return (TRUE);
|
||||
}
|
||||
@ -686,7 +686,11 @@ PerformMappingDisplay(
|
||||
FreePool(HandleBuffer);
|
||||
}
|
||||
if (!Found) {
|
||||
ShellPrintHiiEx(gST->ConOut->Mode->CursorColumn, gST->ConOut->Mode->CursorRow-1, NULL, STRING_TOKEN (STR_MAP_NF), gShellLevel2HiiHandle, Specific);
|
||||
if (Specific != NULL) {
|
||||
ShellPrintHiiEx(gST->ConOut->Mode->CursorColumn, gST->ConOut->Mode->CursorRow-1, NULL, STRING_TOKEN (STR_MAP_NF), gShellLevel2HiiHandle, Specific);
|
||||
} else {
|
||||
ShellPrintHiiEx(gST->ConOut->Mode->CursorColumn, gST->ConOut->Mode->CursorRow-1, NULL, STRING_TOKEN (STR_CD_NF), gShellLevel2HiiHandle);
|
||||
}
|
||||
}
|
||||
return (SHELL_SUCCESS);
|
||||
}
|
||||
|
Reference in New Issue
Block a user