EFI_IMAGE_OPTIONAL_HEADER_UNION HdrData;\r
EFI_IMAGE_OPTIONAL_HEADER_PTR_UNION Hdr;\r
\r
- Removable[0] = FALSE;\r
- Removable[1] = TRUE;\r
FloppyNumber = 0;\r
CdromNumber = 0;\r
UsbNumber = 0;\r
BdsDeleteAllInvalidEfiBootOption ();\r
\r
//\r
- // Parse removable media followed by fixed media\r
+ // Parse removable media followed by fixed media.\r
+ // The Removable[] array is used by the for-loop below to create removable media boot options \r
+ // at first, and then to create fixed media boot options.\r
//\r
+ Removable[0] = FALSE;\r
+ Removable[1] = TRUE;\r
+\r
gBS->LocateHandleBuffer (\r
ByProtocol,\r
&gEfiBlockIoProtocolGuid,\r