]> git.proxmox.com Git - mirror_edk2.git/blame - UnixPkg/Include/Protocol/UnixUgaIo.h
Sync update to improve compiler compatibility
[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
a4902ccc 54
55typedef struct {
56 UINTN SourceX;
57 UINTN SourceY;
58 UINTN DestinationX;
59 UINTN DestinationY;
60 UINTN Width;
61 UINTN Height;
62 UINTN Delta;
63} UGA_BLT_ARGS;
64
804405e7 65typedef
66EFI_STATUS
b9c8e50e 67(*UGABlt)(
68 IN EFI_UNIX_UGA_IO_PROTOCOL *Uga,
804405e7 69 IN EFI_UGA_PIXEL *BltBuffer OPTIONAL,
70 IN EFI_UGA_BLT_OPERATION BltOperation,
a4902ccc 71 IN UGA_BLT_ARGS *Args
b9c8e50e 72 );
804405e7 73
74struct _EFI_UNIX_UGA_IO_PROTOCOL {
75 VOID *Private;
76 UGAClose UgaClose;
77 UGASize UgaSize;
78 UGACheckKey UgaCheckKey;
79 UGAGetKey UgaGetKey;
80 UGABlt UgaBlt;
81};
82
83
84extern EFI_GUID gEfiUnixUgaIoProtocolGuid;
85
86#endif