Puga_fw_service_dispatch.dispatchservice(), Dispatchservice(), Efi_uga_io_protocol.dispatchservice() – Intel Extensible Firmware Interface User Manual

Page 333

Advertising
background image

Protocols

— Console Support

Version 1.10

12/01/02

10-39

PUGA_FW_SERVICE_DISPATCH.DispatchService()

Summary

This function is the main UGA service dispatch routine for all

UGA_IO_REQUEST

s.

Prototype

typedef

UGA_STATUS

(EFIAPI *PUGA_FW_SERVICE_DISPATCH) (

IN PUGA_DEVICE

pDevice,

IN OUT PUGA_IO_REQUEST

pIoRequest

);

Parameters

pDevice pDevice

specifies a pointer to a device object associated with a device

enumerated by a

pIoRequest->ioRequestCode

of type

UgaIoGetChildDevice

.

The root device for the

EFI_UGA_IO_PROTOCOL

is represented by

pDevice

being set

to

NULL

.

pIoRequest pIoRequest

points to a caller allocated buffer that contains data

defined by

pIoRequest->ioRequestCode

. See “Related

Definitions” below for a definition of

UGA_IO_REQUEST_CODE

s and

their associated data structures.

Related Definitions

typedef UINT32 UGA_STATUS;

typedef enum _UGA_DEVICE_TYPE {

UgaDtParentBus = 1,

UgaDtGraphicsController,

UgaDtOutputController,

UgaDtOutputPort,

UgaDtOther

} UGA_DEVICE_TYPE, *PUGA_DEVICE_TYPE;

typedef UINT32 UGA_DEVICE_ID, *PUGA_DEVICE_ID;

typedef struct _UGA_DEVICE_DATA {

UGA_DEVICE_TYPE deviceType;

UGA_DEVICE_ID deviceId;

UINT32 ui32DeviceContextSize;

UINT32 ui32SharedContextSize;

} UGA_DEVICE_DATA, *PUGA_DEVICE_DATA;

Advertising