Device_io.flush(), Flush() – Intel Extensible Firmware Interface User Manual

Page 773

Advertising
background image

Protocols

— Device I/O Protocol

Version 1.10

12/01/02

18-13

DEVICE_IO.Flush()

Summary

Flushes any posted write data to the device.

Prototype

typedef

EFI_STATUS

(EFIAPI *EFI_IO_FLUSH) (

IN EFI_DEVICE_IO_INTERFACE

*This

);

Parameters

This

A pointer to the

EFI_DEVICE_IO_INTERFACE

instance. Type

EFI_DEVICE_IO_INTERFACE

is defined in Section 18.2.

Description

The

Flush()

function flushes any posted write data to the device.

Status Codes Returned

EFI_SUCCESS

The buffers were flushed.

EFI_DEVICE_ERROR

The buffers were not flushed due to a hardware error.

Advertising