Efi_debugport_protocol.poll(), Efi_debugport_protocol.poll() summary, Prototype – Intel Extensible Firmware Interface User Manual

Page 733: Parameters, Description, Status codes returned

Advertising
background image

Protocols

— Debugger Support

Version 1.10

12/01/02

16-19

EFI_DEBUGPORT_PROTOCOL.Poll()

Summary

Checks to see if any data is available to be read from the debugport device.

Prototype

typedef
EFI_STATUS
(EFIAPI *EFI_DEBUGPORT_POLL) (
IN EFI_DEBUGPORT_PROTOCOL

*This

);

Parameters

This

A pointer to the

EFI_DEBUGPORT_PROTOCOL

instance. Type

EFI_DEBUGPORT_PROTOCOL

is defined in Section 16.3.

Description

The

Poll()

function checks if there is any data available to be read from the debugport device

and returns the result. No data is actually removed from the input stream. This function enables
simpler debugger design since buffering of reads is not necessary by the caller.

Status Codes Returned

EFI_SUCCESS

At least one byte of data is available to be read.

EFI_NOT_READY

No data is available to be read.

EFI_DEVICE_ERROR

The debugport device is not functioning correctly.

Advertising