Reset the block device. ExtendedVerification is ignored for this.\r
\r
@param This The BLOCK IO protocol\r
- @param ExtendedVerification Whether to execute extended verfication.\r
+ @param ExtendedVerification Whether to execute extended verification.\r
\r
- @retval EFI_SUCCESS The device is successfully resetted.\r
+ @retval EFI_SUCCESS The device is successfully reseted.\r
@retval Others Failed to reset the device.\r
\r
**/\r
}\r
\r
/**\r
- Retrieve the media parameters such as disk gemotric for the\r
+ Retrieve the media parameters such as disk geometric for the\r
device's BLOCK IO protocol.\r
\r
@param UsbMass The USB mass storage device\r
@param Context The passing parameter.\r
@param MaxLun Get the MaxLun if is BOT dev.\r
\r
- @retval EFI_SUCCESS The initilization is successful.\r
- @retval Others Failed to initilize dev.\r
+ @retval EFI_SUCCESS The initialization is successful.\r
+ @retval Others Failed to initialize dev.\r
\r
**/\r
EFI_STATUS\r
INTN Index;\r
\r
//\r
- // Check whether the controlelr support USB_IO\r
+ // Check whether the controller support USB_IO\r
//\r
Status = gBS->OpenProtocol (\r
Controller,\r
}\r
} else {\r
//\r
- // Open device path to perpare append Device Logic Unit node.\r
+ // Open device path to prepare append Device Logic Unit node.\r
//\r
Status = gBS->OpenProtocol (\r
Controller,\r
);\r
if (EFI_ERROR (Status)) {\r
AllChildrenStopped = FALSE;\r
- DEBUG ((EFI_D_ERROR, "Fail to stop No.%d multi-lun child handle when opening blockio\n", Index));\r
+ DEBUG ((EFI_D_ERROR, "Fail to stop No.%d multi-lun child handle when opening blockio\n", (UINT32)Index));\r
continue;\r
}\r
\r
// Fail to uninstall blockio and devicepath protocol, so re-open usbio by child.\r
//\r
AllChildrenStopped = FALSE;\r
- DEBUG ((EFI_D_ERROR, "Fail to stop No.%d multi-lun child handle when uninstalling blockio and devicepath\n", Index));\r
+ DEBUG ((EFI_D_ERROR, "Fail to stop No.%d multi-lun child handle when uninstalling blockio and devicepath\n", (UINT32)Index));\r
\r
gBS->OpenProtocol (\r
Controller,\r
return EFI_DEVICE_ERROR;\r
}\r
\r
- DEBUG ((EFI_D_INFO, "Success to stop all %d multi-lun children handles\n", NumberOfChildren));\r
+ DEBUG ((EFI_D_INFO, "Success to stop all %d multi-lun children handles\n", (UINT32)NumberOfChildren));\r
return EFI_SUCCESS;\r
}\r
\r