Update Device Path Module to use PCD Feature Flags to determine of the Device Path To Text and Text To Device Path Protocols are produced or not.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1572 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
mdkinney
2006-09-19 19:14:02 +00:00
parent c7823a8f8a
commit e99aa5a211
5 changed files with 83 additions and 66 deletions

View File

@ -1255,7 +1255,7 @@ DevPathToTextNodeUnknown (
CatPrint (Str, L"?");
}
DEVICE_PATH_TO_TEXT_TABLE DevPathToTextTable[] = {
GLOBAL_REMOVE_IF_UNREFERENCED const DEVICE_PATH_TO_TEXT_TABLE DevPathToTextTable[] = {
{HARDWARE_DEVICE_PATH, HW_PCI_DP, DevPathToTextPci},
{HARDWARE_DEVICE_PATH, HW_PCCARD_DP, DevPathToTextPccard},
{HARDWARE_DEVICE_PATH, HW_MEMMAP_DP, DevPathToTextMemMap},