Refine comments for BdsGetBootTypeFromDevicePath().

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8835 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
klu2 2009-07-09 09:30:28 +00:00
parent b59768ca63
commit 11c5022d4d
2 changed files with 30 additions and 32 deletions

View File

@ -964,23 +964,22 @@ BdsLibIsValidEFIBootOptDevicePathExt (
@param DevicePath The bootable device Path to check @param DevicePath The bootable device Path to check
@retval BDS_EFI_MEDIA_HD_BOOT If the device path contains any media deviec path node, it is media boot type @retval BDS_EFI_MEDIA_HD_BOOT If given device path contains MEDIA_DEVICE_PATH type device path node
For the floppy node, handle it as media node which subtype is MEDIA_HARDDRIVE_DP
@retval BDS_EFI_MEDIA_CDROM_BOOT If the device path contains any media deviec path node, it is media boot type @retval BDS_EFI_MEDIA_CDROM_BOOT If given device path contains MEDIA_DEVICE_PATH type device path node
For the floppy node, handle it as media node which subtype is MEDIA_CDROM_DP
@retval BDS_EFI_ACPI_FLOPPY_BOOT If the device path contains any media deviec path node, it is media boot type @retval BDS_EFI_ACPI_FLOPPY_BOOT If given device path contains ACPI_DEVICE_PATH type device path node
For the floppy node, handle it as media node which HID is floppy device.
@retval BDS_EFI_MESSAGE_ATAPI_BOOT If the device path not contains any media deviec path node, and @retval BDS_EFI_MESSAGE_ATAPI_BOOT If given device path contains MESSAGING_DEVICE_PATH type device path node
its last device path node point to a message device path node, it is and its last device path node's subtype is MSG_ATAPI_DP.
@retval BDS_EFI_MESSAGE_SCSI_BOOT If given device path contains MESSAGING_DEVICE_PATH type device path node
@retval BDS_EFI_MESSAGE_SCSI_BOOT If the device path not contains any media deviec path node, and and its last device path node's subtype is MSG_SCSI_DP.
its last device path node point to a message device path node, it is @retval BDS_EFI_MESSAGE_USB_DEVICE_BOOT If given device path contains MESSAGING_DEVICE_PATH type device path node
@retval BDS_EFI_MESSAGE_USB_DEVICE_BOOT If the device path not contains any media deviec path node, and and its last device path node's subtype is MSG_USB_DP.
its last device path node point to a message device path node, it is @retval BDS_EFI_MESSAGE_MISC_BOOT If the device path not contains any media device path node, and
@retval BDS_EFI_MESSAGE_MISC_BOOT If the device path not contains any media deviec path node, and its last device path node point to a message device path node.
its last device path node point to a message device path node, it is @retval BDS_LEGACY_BBS_BOOT If given device path contains BBS_DEVICE_PATH type device path node.
@retval BDS_LEGACY_BBS_BOOT Legacy boot type @retval BDS_EFI_UNSUPPORT An EFI Removable BlockIO device path not point to a media and message device,
@retval BDS_EFI_UNSUPPORT An EFI Removable BlockIO device path not point to a media and message devie,
**/ **/
UINT32 UINT32

View File

@ -1531,22 +1531,21 @@ BdsLibNetworkBootWithMediaPresent (
@param DevicePath The bootable device Path to check @param DevicePath The bootable device Path to check
@retval BDS_EFI_MEDIA_HD_BOOT If the device path contains any media device path node, it is media boot type @retval BDS_EFI_MEDIA_HD_BOOT If given device path contains MEDIA_DEVICE_PATH type device path node
For the floppy node, handle it as media node which subtype is MEDIA_HARDDRIVE_DP
@retval BDS_EFI_MEDIA_CDROM_BOOT If the device path contains any media device path node, it is media boot type @retval BDS_EFI_MEDIA_CDROM_BOOT If given device path contains MEDIA_DEVICE_PATH type device path node
For the floppy node, handle it as media node which subtype is MEDIA_CDROM_DP
@retval BDS_EFI_ACPI_FLOPPY_BOOT If the device path contains any media device path node, it is media boot type @retval BDS_EFI_ACPI_FLOPPY_BOOT If given device path contains ACPI_DEVICE_PATH type device path node
For the floppy node, handle it as media node which HID is floppy device.
@retval BDS_EFI_MESSAGE_ATAPI_BOOT If the device path not contains any media device path node, and @retval BDS_EFI_MESSAGE_ATAPI_BOOT If given device path contains MESSAGING_DEVICE_PATH type device path node
its last device path node point to a message device path node, it is and its last device path node's subtype is MSG_ATAPI_DP.
@retval BDS_EFI_MESSAGE_SCSI_BOOT If given device path contains MESSAGING_DEVICE_PATH type device path node
@retval BDS_EFI_MESSAGE_SCSI_BOOT If the device path not contains any media device path node, and and its last device path node's subtype is MSG_SCSI_DP.
its last device path node point to a message device path node, it is @retval BDS_EFI_MESSAGE_USB_DEVICE_BOOT If given device path contains MESSAGING_DEVICE_PATH type device path node
@retval BDS_EFI_MESSAGE_USB_DEVICE_BOOT If the device path not contains any media device path node, and and its last device path node's subtype is MSG_USB_DP.
its last device path node point to a message device path node, it is
@retval BDS_EFI_MESSAGE_MISC_BOOT If the device path not contains any media device path node, and @retval BDS_EFI_MESSAGE_MISC_BOOT If the device path not contains any media device path node, and
its last device path node point to a message device path node, it is its last device path node point to a message device path node.
@retval BDS_LEGACY_BBS_BOOT Legacy boot type @retval BDS_LEGACY_BBS_BOOT If given device path contains BBS_DEVICE_PATH type device path node.
@retval BDS_EFI_UNSUPPORT An EFI Removable BlockIO device path not point to a media and message device, @retval BDS_EFI_UNSUPPORT An EFI Removable BlockIO device path not point to a media and message device,
**/ **/