beautypg.com

Efi_block_io.reset(), Reset() – Intel Extensible Firmware Interface User Manual

Page 404

background image

Extensible Firmware Interface Specification

11-44

12/01/02

Version 1.10

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 the

BLOCK_IO

protocol

description.

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.