]> git.proxmox.com Git - mirror_edk2.git/blame - EdkCompatibilityPkg/Foundation/Protocol/VgaMiniPort/VgaMiniPort.h
Update the copyright notice format
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Protocol / VgaMiniPort / VgaMiniPort.h
CommitLineData
3eb9473e 1/*++\r
2\r
f57387d5
HT
3Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>\r
4This program and the accompanying materials \r
3eb9473e 5are licensed and made available under the terms and conditions of the BSD License \r
6which accompanies this distribution. The full text of the license may be found at \r
7http://opensource.org/licenses/bsd-license.php \r
8 \r
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
11\r
12\r
13Module Name:\r
14\r
15 VgaMiniPort.h\r
16 \r
17Abstract:\r
18\r
19 Vga Mini port binding for a VGA controller\r
20\r
21--*/\r
22\r
23#ifndef _VGA_MINI_PORT_H\r
24#define _VGA_MINI_PORT_H\r
25\r
26#define EFI_VGA_MINI_PORT_PROTOCOL_GUID \\r
27 { \\r
7ccf38a3 28 0xc7735a2f, 0x88f5, 0x4882, {0xae, 0x63, 0xfa, 0xac, 0x8c, 0x8b, 0x86, 0xb3} \\r
3eb9473e 29 }\r
30\r
31EFI_FORWARD_DECLARATION (EFI_VGA_MINI_PORT_PROTOCOL);\r
32\r
33typedef\r
34EFI_STATUS\r
35(EFIAPI *EFI_VGA_MINI_PORT_SET_MODE) (\r
36 IN EFI_VGA_MINI_PORT_PROTOCOL * This,\r
37 IN UINTN ModeNumber\r
38 );\r
39\r
40/*++\r
41\r
42 Routine Description:\r
43 Sets the text display mode of a VGA controller\r
44\r
45 Arguments:\r
46 This - Protocol instance pointer.\r
47 Mode - Mode number. 0 - 80x25 1-80x50\r
48\r
49 Returns:\r
50 EFI_SUCCESS - The mode was set\r
51 EFI_DEVICE_ERROR - The device is not functioning properly.\r
52\r
53--*/\r
9c092841 54struct _EFI_VGA_MINI_PORT_PROTOCOL {\r
3eb9473e 55 EFI_VGA_MINI_PORT_SET_MODE SetMode;\r
56\r
57 UINT64 VgaMemoryOffset;\r
58 UINT64 CrtcAddressRegisterOffset;\r
59 UINT64 CrtcDataRegisterOffset;\r
60\r
61 UINT8 VgaMemoryBar;\r
62 UINT8 CrtcAddressRegisterBar;\r
63 UINT8 CrtcDataRegisterBar;\r
64\r
65 UINT8 MaxMode;\r
9c092841 66};\r
3eb9473e 67\r
68extern EFI_GUID gEfiVgaMiniPortProtocolGuid;\r
69\r
70#endif\r