mirror of https://github.com/acidanthera/audk.git
Update the comments to describe the purpose of Removable array.
Signed-off-by: niruiyu Reviewed-by: li-elvin git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11709 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
7c1fd3239d
commit
701e17e520
|
@ -1430,8 +1430,6 @@ BdsLibEnumerateAllBootOption (
|
||||||
EFI_IMAGE_OPTIONAL_HEADER_UNION HdrData;
|
EFI_IMAGE_OPTIONAL_HEADER_UNION HdrData;
|
||||||
EFI_IMAGE_OPTIONAL_HEADER_PTR_UNION Hdr;
|
EFI_IMAGE_OPTIONAL_HEADER_PTR_UNION Hdr;
|
||||||
|
|
||||||
Removable[0] = FALSE;
|
|
||||||
Removable[1] = TRUE;
|
|
||||||
FloppyNumber = 0;
|
FloppyNumber = 0;
|
||||||
CdromNumber = 0;
|
CdromNumber = 0;
|
||||||
UsbNumber = 0;
|
UsbNumber = 0;
|
||||||
|
@ -1484,8 +1482,13 @@ BdsLibEnumerateAllBootOption (
|
||||||
BdsDeleteAllInvalidEfiBootOption ();
|
BdsDeleteAllInvalidEfiBootOption ();
|
||||||
|
|
||||||
//
|
//
|
||||||
// Parse removable media followed by fixed media
|
// Parse removable media followed by fixed media.
|
||||||
|
// The Removable[] array is used by the for-loop below to create removable media boot options
|
||||||
|
// at first, and then to create fixed media boot options.
|
||||||
//
|
//
|
||||||
|
Removable[0] = FALSE;
|
||||||
|
Removable[1] = TRUE;
|
||||||
|
|
||||||
gBS->LocateHandleBuffer (
|
gBS->LocateHandleBuffer (
|
||||||
ByProtocol,
|
ByProtocol,
|
||||||
&gEfiBlockIoProtocolGuid,
|
&gEfiBlockIoProtocolGuid,
|
||||||
|
|
Loading…
Reference in New Issue