OpenCore  1.0.7
OpenCore Bootloader
Loading...
Searching...
No Matches
UgaIo.h
Go to the documentation of this file.
1
11#ifndef __UGA_IO_H__
12#define __UGA_IO_H__
13
14#define EFI_UGA_IO_PROTOCOL_GUID \
15 { 0x61a4d49e, 0x6f68, 0x4f1b, { 0xb9, 0x22, 0xa8, 0x6e, 0xed, 0xb, 0x7, 0xa2 } }
16
18
19typedef UINT32 UGA_STATUS;
20
28
30
37
47
73
82
100typedef
101EFI_STATUS
103 IN EFI_UGA_IO_PROTOCOL *This,
104 IN UGA_DEVICE *ParentDevice,
105 IN UGA_DEVICE_DATA *DeviceData,
106 IN VOID *RunTimeContext,
107 OUT UGA_DEVICE **Device
108 );
109
123typedef
124EFI_STATUS
126 IN EFI_UGA_IO_PROTOCOL *This,
127 IN UGA_DEVICE *Device
128 );
129
149 IN PUGA_DEVICE pDevice,
150 IN OUT PUGA_IO_REQUEST pIoRequest
151 );
152
161
162extern EFI_GUID gEfiUgaIoProtocolGuid;
163
164//
165// Data structure that is stored in the EFI Configuration Table with the
166// EFI_UGA_IO_PROTOCOL_GUID. The option ROMs listed in this table may have
167// EBC UGA drivers.
168//
175
181
182typedef struct {
184 EFI_DEVICE_PATH_PROTOCOL *DevicePath;
188
189#endif
struct UGA_DEVICE_DATA * PUGA_DEVICE_DATA
EFI_STATUS(EFIAPI * EFI_UGA_IO_PROTOCOL_DELETE_DEVICE)(IN EFI_UGA_IO_PROTOCOL *This, IN UGA_DEVICE *Device)
Definition UgaIo.h:125
EFI_DRIVER_HANOFF_ENUM
Definition UgaIo.h:176
@ EfiUgaDriverFromPciRom
Definition UgaIo.h:177
@ EfiUgaDriverFromSystem
Definition UgaIo.h:178
@ EfiDriverHandoffMax
Definition UgaIo.h:179
UGA_IO_REQUEST_CODE
Definition UgaIo.h:48
@ UgaIoFlushDevice
Definition UgaIo.h:53
@ UgaIoGetDeviceState
Definition UgaIo.h:55
@ UgaIoStopDevice
Definition UgaIo.h:52
@ UgaIoStartDevice
Definition UgaIo.h:51
@ UgaIoDeviceChannelOpen
Definition UgaIo.h:62
@ UgaIoBtPrivateInterface
Definition UgaIo.h:71
@ UgaIoGetDevicePropertySize
Definition UgaIo.h:69
@ UgaIoDeviceChannelClose
Definition UgaIo.h:63
@ UgaIoCopyRectangle
Definition UgaIo.h:60
@ UgaIoResetDevice
Definition UgaIo.h:54
@ UgaIoDeviceChannelWrite
Definition UgaIo.h:65
@ UgaIoGetChildDevice
Definition UgaIo.h:50
@ UgaIoSetPersistentData
Definition UgaIo.h:68
@ UgaIoGetVersion
Definition UgaIo.h:49
@ UgaIoDeviceChannelRead
Definition UgaIo.h:64
@ UgaIoGetEdidSegment
Definition UgaIo.h:61
@ UgaIoGetDeviceProperty
Definition UgaIo.h:70
@ UgaIoSetDeviceState
Definition UgaIo.h:56
@ UgaIoGetPersistentData
Definition UgaIo.h:67
@ UgaIoGetPersistentDataSize
Definition UgaIo.h:66
@ UgaIoSetPowerState
Definition UgaIo.h:57
@ UgaIoGetMemoryConfiguration
Definition UgaIo.h:58
@ UgaIoSetVideoMode
Definition UgaIo.h:59
enum UGA_IO_REQUEST_CODE * PUGA_IO_REQUEST_CODE
UINT32 * PUGA_DEVICE_ID
Definition UgaIo.h:29
UINT32 UGA_DEVICE_ID
Definition UgaIo.h:29
struct UGA_IO_REQUEST * PUGA_IO_REQUEST
UINT32 UGA_STATUS
Definition UgaIo.h:19
UGA_DEVICE_TYPE
Definition UgaIo.h:21
@ UgaDtGraphicsController
Definition UgaIo.h:23
@ UgaDtOutputPort
Definition UgaIo.h:25
@ UgaDtParentBus
Definition UgaIo.h:22
@ UgaDtOther
Definition UgaIo.h:26
@ UgaDtOutputController
Definition UgaIo.h:24
struct _UGA_DEVICE * PUGA_DEVICE
struct _UGA_DEVICE UGA_DEVICE
EFI_GUID gEfiUgaIoProtocolGuid
UGA_STATUS(EFIAPI * PUGA_FW_SERVICE_DISPATCH)(IN PUGA_DEVICE pDevice, IN OUT PUGA_IO_REQUEST pIoRequest)
Definition UgaIo.h:148
EFI_STATUS(EFIAPI * EFI_UGA_IO_PROTOCOL_CREATE_DEVICE)(IN EFI_UGA_IO_PROTOCOL *This, IN UGA_DEVICE *ParentDevice, IN UGA_DEVICE_DATA *DeviceData, IN VOID *RunTimeContext, OUT UGA_DEVICE **Device)
Definition UgaIo.h:102
enum UGA_DEVICE_TYPE * PUGA_DEVICE_TYPE
EFI_UGA_IO_PROTOCOL_CREATE_DEVICE CreateDevice
Definition UgaIo.h:157
PUGA_FW_SERVICE_DISPATCH DispatchService
Definition UgaIo.h:159
EFI_UGA_IO_PROTOCOL_DELETE_DEVICE DeleteDevice
Definition UgaIo.h:158
UGA_DEVICE_DATA deviceData
Definition UgaIo.h:45
VOID * pvStdIoServices
Definition UgaIo.h:44
VOID * pvRunTimeContext
Definition UgaIo.h:41
VOID * pvBusIoServices
Definition UgaIo.h:43
struct _UGA_DEVICE * pParentDevice
Definition UgaIo.h:42
VOID * pvSharedContext
Definition UgaIo.h:40
VOID * pvDeviceContext
Definition UgaIo.h:39
EFI_DRIVER_HANOFF_ENUM Type
Definition UgaIo.h:183
EFI_DEVICE_PATH_PROTOCOL * DevicePath
Definition UgaIo.h:184
UINT32 ui32SharedContextSize
Definition UgaIo.h:35
UGA_DEVICE_TYPE deviceType
Definition UgaIo.h:32
UGA_DEVICE_ID deviceId
Definition UgaIo.h:33
UINT32 ui32DeviceContextSize
Definition UgaIo.h:34
OUT UINT64 ui64BytesReturned
Definition UgaIo.h:80
IN UGA_IO_REQUEST_CODE ioRequestCode
Definition UgaIo.h:75
IN UINT64 ui64OutBufferSize
Definition UgaIo.h:79
IN UINT64 ui64InBufferSize
Definition UgaIo.h:77
IN VOID * pvInBuffer
Definition UgaIo.h:76
OUT VOID * pvOutBuffer
Definition UgaIo.h:78