]> git.proxmox.com Git - mirror_edk2.git/blame - EdkCompatibilityPkg/Foundation/Efi/Protocol/EdidOverride/EdidOverride.h
Update the copyright notice format
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Efi / Protocol / EdidOverride / EdidOverride.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
12Module Name:\r
13\r
14 EdidOverride.h\r
15\r
16Abstract:\r
17\r
18 EDID Override Protocol from the UEFI 2.0 specification.\r
19\r
20 Allow platform to provide EDID information to producer of the Graphics Output\r
21 protocol.\r
22\r
23--*/\r
24\r
25#ifndef __EDID_OVERRIDE_H__\r
26#define __EDID_OVERRIDE_H__\r
27\r
28#include "EfiSpec.h"\r
29#include EFI_PROTOCOL_DEFINITION (EdidDiscovered)\r
30\r
31#define EFI_EDID_OVERRIDE_PROTOCOL_GUID \\r
32 { \\r
7ccf38a3 33 0x48ecb431, 0xfb72, 0x45c0, {0xa9, 0x22, 0xf4, 0x58, 0xfe, 0x4, 0xb, 0xd5} \\r
3eb9473e 34 }\r
35\r
36typedef struct _EFI_EDID_OVERRIDE_PROTOCOL EFI_EDID_OVERRIDE_PROTOCOL;\r
37\r
38#define EFI_EDID_OVERRIDE_DONT_OVERRIDE 0x01\r
39#define EFI_EDID_OVERRIDE_ENABLE_HOT_PLUG 0x02\r
40\r
41typedef\r
42EFI_STATUS\r
43(EFIAPI *EFI_EDID_OVERRIDE_PROTOCOL_GET_EDID) (\r
44 IN EFI_EDID_OVERRIDE_PROTOCOL *This,\r
45 IN EFI_HANDLE *ChildHandle,\r
46 OUT UINT32 *Attributes,\r
47 IN OUT UINTN *EdidSize,\r
48 IN OUT UINT8 **Edid\r
49 )\r
50/*++\r
51\r
52 Routine Description:\r
53 Return the current video mode information.\r
54\r
55 Arguments:\r
56 This - Protocol instance pointer.\r
57 ChildHandle - A child handle produced by the Graphics Output EFI\r
58 driver that represents a video output device. \r
59 Attributes - The attributes associated with ChildHandle video output device.\r
60 EdidSize - A pointer to the size, in bytes, of the Edid buffer.\r
61 Edid - A pointer to callee allocated buffer that contains the EDID that\r
62 should be used for ChildHandle. A value of NULL \r
63 represents no EDID override for ChildHandle.\r
64\r
65 Returns:\r
66 EFI_SUCCESS - Valid overrides returned for ChildHandle.\r
67 EFI_UNSUPPORTED - ChildHandle has no overrides.\r
68\r
69--*/\r
70;\r
71\r
e5bce275 72struct _EFI_EDID_OVERRIDE_PROTOCOL {\r
3eb9473e 73 EFI_EDID_OVERRIDE_PROTOCOL_GET_EDID GetEdid;\r
e5bce275 74};\r
3eb9473e 75\r
76extern EFI_GUID gEfiEdidOverrideProtocolGuid;\r
77\r
78#endif\r