Extensible Firmware Interface Specification
176 12/12/00 Version 1.02
8.1.1 EFI_BLOCK_IO.Reset()
Summary
Resets the block device hardware.
Prototype
EFI_STATUS
(EFIAPI *EFI_BLOCK_RESET) (
IN EFI_BLOCK_IO *This,
IN BOOLEAN ExtendedVerification
);
Parameters
This Indicates a pointer to the calling context. Type
EFI_BLOCK_IO is defined in Section 8.1.
ExtendedVerification Indicates that the driver may perform a more exhaustive
verification operation of the device during reset.
Description
The Reset() function resets the block device hardware.
As part of the initialization process, the firmware/device will make a quick but reasonable attempt
to verify that the device is functioning. If the ExtendedVerification flag is TRUE the
firmware may take an extended amount of time to verify the device is operating on reset.
Otherwise the reset operation is to occur as quickly as possible.
The hardware verification process is not defined by this specification and is left up to the platform
firmware and/or EFI driver to implement.
Status Codes Returned
EFI_SUCCESS The block device was reset.
EFI_DEVICE_ERROR The block device is not functioning correctly and could not be reset.