Correct the enumeration value's name for EFI_COMPATIBILITY_FUNCTIONS with Intel Frame...
[mirror_edk2.git] / IntelFrameworkModulePkg / Include / Protocol / VgaMiniPort.h
CommitLineData
8ca67c46 1/** @file\r
3db51098 2 Vga Mini port binding for a VGA controller\r
a9102619 3\r
3db51098 4Copyright (c) 2006 - 2007, Intel Corporation \r
a9102619 5All rights reserved. This program and the accompanying materials \r
6are licensed and made available under the terms and conditions of the BSD License \r
7which accompanies this distribution. The full text of the license may be found at \r
8http://opensource.org/licenses/bsd-license.php \r
9 \r
10THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
11WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
12\r
3db51098 13**/\r
a9102619 14\r
15#ifndef __VGA_MINI_PORT_H_\r
16#define __VGA_MINI_PORT_H_\r
17\r
18#define EFI_VGA_MINI_PORT_PROTOCOL_GUID \\r
19 { \\r
20 0xc7735a2f, 0x88f5, 0x4882, {0xae, 0x63, 0xfa, 0xac, 0x8c, 0x8b, 0x86, 0xb3 } \\r
21 }\r
22\r
23typedef struct _EFI_VGA_MINI_PORT_PROTOCOL EFI_VGA_MINI_PORT_PROTOCOL;\r
24\r
ed7752ec 25/**\r
26 Sets the text display mode of a VGA controller\r
27 \r
28 @param This Protocol instance pointer.\r
29 @param Mode Mode number. 0 - 80x25 1-80x50\r
30\r
31 @retval EFI_SUCCESS The mode was set\r
32 @retval EFI_DEVICE_ERROR The device is not functioning properly.\r
33 \r
34**/\r
a9102619 35typedef\r
36EFI_STATUS\r
37(EFIAPI *EFI_VGA_MINI_PORT_SET_MODE) (\r
38 IN EFI_VGA_MINI_PORT_PROTOCOL * This,\r
39 IN UINTN ModeNumber\r
40 );\r
41\r
a9102619 42struct _EFI_VGA_MINI_PORT_PROTOCOL {\r
43 EFI_VGA_MINI_PORT_SET_MODE SetMode;\r
44\r
45 UINT64 VgaMemoryOffset;\r
46 UINT64 CrtcAddressRegisterOffset;\r
47 UINT64 CrtcDataRegisterOffset;\r
48\r
49 UINT8 VgaMemoryBar;\r
50 UINT8 CrtcAddressRegisterBar;\r
51 UINT8 CrtcDataRegisterBar;\r
52\r
53 UINT8 MaxMode;\r
54};\r
55\r
56extern EFI_GUID gEfiVgaMiniPortProtocolGuid;\r
57\r
58#endif\r