summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/GenericBdsLib/DevicePath.c
diff options
context:
space:
mode:
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2008-03-06 11:48:52 +0000
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2008-03-06 11:48:52 +0000
commita1a99cca132359b0f08b66a73e54f6008f90a28e (patch)
treedc19cbf0546948af92d81b993e31e5726b1b9bb4 /MdeModulePkg/Library/GenericBdsLib/DevicePath.c
parent189eac2199940cdc1265503ba4854ea947042424 (diff)
downloadedk2-a1a99cca132359b0f08b66a73e54f6008f90a28e.zip
edk2-a1a99cca132359b0f08b66a73e54f6008f90a28e.tar.gz
edk2-a1a99cca132359b0f08b66a73e54f6008f90a28e.tar.bz2
1) Sync in patch for EDK 1063 Boot option enumeration algorithm enhancement
2) Sync in patch for EDK 1081: Enhance the BDS shell enumeration logic to skip the those not dispatched FVs in system. 3) Remove all EFI_SPECIFICATION_VERSION as all module should comply to UEFI 2.1 and later. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4798 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Library/GenericBdsLib/DevicePath.c')
-rw-r--r--MdeModulePkg/Library/GenericBdsLib/DevicePath.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/MdeModulePkg/Library/GenericBdsLib/DevicePath.c b/MdeModulePkg/Library/GenericBdsLib/DevicePath.c
index 96a3c5d..6701fd2 100644
--- a/MdeModulePkg/Library/GenericBdsLib/DevicePath.c
+++ b/MdeModulePkg/Library/GenericBdsLib/DevicePath.c
@@ -622,7 +622,6 @@ DevPathUsb (
CatPrint (Str, L"Usb(%x,%x)", (UINTN) Usb->ParentPortNumber, (UINTN) Usb->InterfaceNumber);
}
-#if (EFI_SPECIFICATION_VERSION >= 0x00020000)
VOID
DevPathUsbWWID (
IN OUT POOL_PRINT *Str,
@@ -652,7 +651,6 @@ DevPathLogicalUnit (
LogicalUnit = DevPath;
CatPrint (Str, L"Unit(%x)", (UINTN) LogicalUnit->Lun);
}
-#endif
VOID
DevPathUsbClass (
@@ -876,7 +874,6 @@ DevPathUart (
}
}
-#if (EFI_SPECIFICATION_VERSION >= 0x00020000)
VOID
DevPathiSCSI (
IN OUT POOL_PRINT *Str,
@@ -912,7 +909,6 @@ DevPathiSCSI (
CatPrint (Str, L"%s)", (iSCSI->NetworkProtocol == 0) ? L"TCP" : L"reserved");
}
-#endif
VOID
DevPathHardDrive (
@@ -1106,14 +1102,12 @@ DEVICE_PATH_STRING_TABLE DevPathTable[] = {
MESSAGING_DEVICE_PATH,
MSG_USB_DP,
DevPathUsb,
-#if (EFI_SPECIFICATION_VERSION >= 0x00020000)
MESSAGING_DEVICE_PATH,
MSG_USB_WWID_DP,
DevPathUsbWWID,
MESSAGING_DEVICE_PATH,
MSG_DEVICE_LOGICAL_UNIT_DP,
DevPathLogicalUnit,
-#endif
MESSAGING_DEVICE_PATH,
MSG_USB_CLASS_DP,
DevPathUsbClass,
@@ -1141,11 +1135,9 @@ DEVICE_PATH_STRING_TABLE DevPathTable[] = {
MESSAGING_DEVICE_PATH,
MSG_VENDOR_DP,
DevPathVendor,
-#if (EFI_SPECIFICATION_VERSION >= 0x00020000)
MESSAGING_DEVICE_PATH,
MSG_ISCSI_DP,
DevPathiSCSI,
-#endif
MEDIA_DEVICE_PATH,
MEDIA_HARDDRIVE_DP,
DevPathHardDrive,
@@ -1161,11 +1153,9 @@ DEVICE_PATH_STRING_TABLE DevPathTable[] = {
MEDIA_DEVICE_PATH,
MEDIA_PROTOCOL_DP,
DevPathMediaProtocol,
-#if (EFI_SPECIFICATION_VERSION != 0x00020000)
MEDIA_DEVICE_PATH,
MEDIA_PIWG_FW_FILE_DP,
DevPathFvFilePath,
-#endif
BBS_DEVICE_PATH,
BBS_BBS_DP,
DevPathBssBss,