]> git.proxmox.com Git - mirror_edk2.git/blame - UnixPkg/Include/Protocol/UnixUgaIo.h
Sync fix on MdePkg r9982.
[mirror_edk2.git] / UnixPkg / Include / Protocol / UnixUgaIo.h
CommitLineData
804405e7 1/*++
2
f9b8ab56
HT
3Copyright (c) 2006, Tristan Gingold. All rights reserved.<BR>
4This program and the accompanying materials
804405e7 5are licensed and made available under the terms and conditions of the
6BSD License which accompanies this distribution. The full text of the
7license may be found at http://opensource.org/licenses/bsd-license.php
8
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11
12Module Name:
13
14 UnixUgaIo.h
15
16Abstract:
17
18--*/
19
20#ifndef _UNIX_UGA_IO_H_
21#define _UNIX_UGA_IO_H_
22
b9c8e50e 23#define EFI_UNIX_UGA_IO_PROTOCOL_GUID {0xf2e5e2c6, 0x8985, 0x11db, {0xa1, 0x91, 0x00, 0x40, 0xd0, 0x2b, 0x18, 0x35 } }
804405e7 24
804405e7 25typedef struct _EFI_UNIX_UGA_IO_PROTOCOL EFI_UNIX_UGA_IO_PROTOCOL;
26
27typedef
28EFI_STATUS
b9c8e50e 29(*UGAClose)(
30 EFI_UNIX_UGA_IO_PROTOCOL *Uga
31 );
804405e7 32
33typedef
34EFI_STATUS
b9c8e50e 35(*UGASize)(
36 EFI_UNIX_UGA_IO_PROTOCOL *Uga,
37 UINT32 Width,
38 UINT32 Height
39 );
804405e7 40
41typedef
42EFI_STATUS
b9c8e50e 43(*UGACheckKey)(
44 EFI_UNIX_UGA_IO_PROTOCOL *Uga
45 );
804405e7 46
47typedef
48EFI_STATUS
b9c8e50e 49(*UGAGetKey)(
50 EFI_UNIX_UGA_IO_PROTOCOL *Uga,
51 EFI_INPUT_KEY *key
52 );
804405e7 53
54typedef
55EFI_STATUS
b9c8e50e 56(*UGABlt)(
57 IN EFI_UNIX_UGA_IO_PROTOCOL *Uga,
804405e7 58 IN EFI_UGA_PIXEL *BltBuffer OPTIONAL,
59 IN EFI_UGA_BLT_OPERATION BltOperation,
60 IN UINTN SourceX,
61 IN UINTN SourceY,
62 IN UINTN DestinationX,
63 IN UINTN DestinationY,
64 IN UINTN Width,
65 IN UINTN Height,
b9c8e50e 66 IN UINTN Delta OPTIONAL
67 );
804405e7 68
69struct _EFI_UNIX_UGA_IO_PROTOCOL {
70 VOID *Private;
71 UGAClose UgaClose;
72 UGASize UgaSize;
73 UGACheckKey UgaCheckKey;
74 UGAGetKey UgaGetKey;
75 UGABlt UgaBlt;
76};
77
78
79extern EFI_GUID gEfiUnixUgaIoProtocolGuid;
80
81#endif