3 Copyright (c) 2006, Tristan Gingold
4 All rights reserved. This program and the accompanying materials
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
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.
20 #ifndef _UNIX_UGA_IO_H_
21 #define _UNIX_UGA_IO_H_
23 #define EFI_UNIX_UGA_IO_PROTOCOL_GUID \
25 0xf2e5e2c6, 0x8985, 0x11db, {0xa1, 0x91, 0x00, 0x40, 0xd0, 0x2b, 0x18, 0x35 } \
28 struct _EFI_UNIX_UGA_IO_PROTOCOL
;
29 typedef struct _EFI_UNIX_UGA_IO_PROTOCOL EFI_UNIX_UGA_IO_PROTOCOL
;
33 (*UGAClose
)(EFI_UNIX_UGA_IO_PROTOCOL
*Uga
);
37 (*UGASize
)(EFI_UNIX_UGA_IO_PROTOCOL
*Uga
, UINT32 Width
, UINT32 Height
);
41 (*UGACheckKey
)(EFI_UNIX_UGA_IO_PROTOCOL
*Uga
);
45 (*UGAGetKey
)(EFI_UNIX_UGA_IO_PROTOCOL
*Uga
, EFI_INPUT_KEY
*key
);
49 (*UGABlt
)(EFI_UNIX_UGA_IO_PROTOCOL
*Uga
,
50 IN EFI_UGA_PIXEL
*BltBuffer OPTIONAL
,
51 IN EFI_UGA_BLT_OPERATION BltOperation
,
54 IN UINTN DestinationX
,
55 IN UINTN DestinationY
,
58 IN UINTN Delta OPTIONAL
);
60 struct _EFI_UNIX_UGA_IO_PROTOCOL
{
64 UGACheckKey UgaCheckKey
;
70 extern EFI_GUID gEfiUnixUgaIoProtocolGuid
;