]>
Commit | Line | Data |
---|---|---|
804405e7 | 1 | /*++ |
2 | ||
f9b8ab56 HT |
3 | Copyright (c) 2006, Tristan Gingold. All rights reserved.<BR> |
4 | This program and the accompanying materials | |
804405e7 | 5 | are licensed and made available under the terms and conditions of the |
6 | BSD License which accompanies this distribution. The full text of the | |
7 | license may be found at http://opensource.org/licenses/bsd-license.php | |
8 | ||
9 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, | |
10 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. | |
11 | ||
12 | Module Name: | |
13 | ||
14 | UnixUgaIo.h | |
15 | ||
16 | Abstract: | |
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 | 25 | typedef struct _EFI_UNIX_UGA_IO_PROTOCOL EFI_UNIX_UGA_IO_PROTOCOL; |
26 | ||
27 | typedef | |
28 | EFI_STATUS | |
b9c8e50e | 29 | (*UGAClose)( |
30 | EFI_UNIX_UGA_IO_PROTOCOL *Uga | |
31 | ); | |
804405e7 | 32 | |
33 | typedef | |
34 | EFI_STATUS | |
b9c8e50e | 35 | (*UGASize)( |
36 | EFI_UNIX_UGA_IO_PROTOCOL *Uga, | |
37 | UINT32 Width, | |
38 | UINT32 Height | |
39 | ); | |
804405e7 | 40 | |
41 | typedef | |
42 | EFI_STATUS | |
b9c8e50e | 43 | (*UGACheckKey)( |
44 | EFI_UNIX_UGA_IO_PROTOCOL *Uga | |
45 | ); | |
804405e7 | 46 | |
47 | typedef | |
48 | EFI_STATUS | |
b9c8e50e | 49 | (*UGAGetKey)( |
50 | EFI_UNIX_UGA_IO_PROTOCOL *Uga, | |
51 | EFI_INPUT_KEY *key | |
52 | ); | |
804405e7 | 53 | |
54 | typedef | |
55 | EFI_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 | |
69 | struct _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 | ||
79 | extern EFI_GUID gEfiUnixUgaIoProtocolGuid; | |
80 | ||
81 | #endif |