8.1.4
BLOCK_IO.FlushBlocks()
Summary
Flushes all modified data to a physical block device.
Prototype
EFI_STATUS
(EFIAPI *EFI_BLOCK_FLUSH) (
IN EFI_BLOCK_IO
);
Parameters
This
Description
The
FlushBlocks()
All data written to the device prior to the flush must be physically written before returning
from this function. This would include any cached data the driver may have
EFI_SUCCESS
cached, and cached data the device may have cached. Even if there were no outstanding data, a
read request to a device with removable media following a flush will always cause a device access.
Status Codes Returned
EFI_SUCCESS
EFI_DEVICE_ERROR
EFI_NO_MEDIA
Version 1.02
Indicates a pointer to the calling context. Type
defined in Section 8.1.
function flushes all modified data to the physical block device.
All outstanding data were written correctly to the device.
The device reported an error while attempting to write data.
There is no media in the device.
12/12/00
*This
EFI_BLOCK_IO
Block I/O Protocol
is
181
Need help?
Do you have a question about the Extensible Firmware Interface and is the answer not in the manual?