+++ /dev/null
-/*++\r
-\r
-Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>\r
-This program and the accompanying materials \r
-are licensed and made available under the terms and conditions of the BSD License \r
-which accompanies this distribution. The full text of the license may be found at \r
-http://opensource.org/licenses/bsd-license.php \r
- \r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
-\r
-Module Name:\r
-\r
- EdidOverride.h\r
-\r
-Abstract:\r
-\r
- EDID Override Protocol from the UEFI 2.0 specification.\r
-\r
- Allow platform to provide EDID information to producer of the Graphics Output\r
- protocol.\r
-\r
---*/\r
-\r
-#ifndef __EDID_OVERRIDE_H__\r
-#define __EDID_OVERRIDE_H__\r
-\r
-#include "EfiSpec.h"\r
-#include EFI_PROTOCOL_DEFINITION (EdidDiscovered)\r
-\r
-#define EFI_EDID_OVERRIDE_PROTOCOL_GUID \\r
- { \\r
- 0x48ecb431, 0xfb72, 0x45c0, {0xa9, 0x22, 0xf4, 0x58, 0xfe, 0x4, 0xb, 0xd5} \\r
- }\r
-\r
-typedef struct _EFI_EDID_OVERRIDE_PROTOCOL EFI_EDID_OVERRIDE_PROTOCOL;\r
-\r
-#define EFI_EDID_OVERRIDE_DONT_OVERRIDE 0x01\r
-#define EFI_EDID_OVERRIDE_ENABLE_HOT_PLUG 0x02\r
-\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *EFI_EDID_OVERRIDE_PROTOCOL_GET_EDID) (\r
- IN EFI_EDID_OVERRIDE_PROTOCOL *This,\r
- IN EFI_HANDLE *ChildHandle,\r
- OUT UINT32 *Attributes,\r
- IN OUT UINTN *EdidSize,\r
- IN OUT UINT8 **Edid\r
- )\r
-/*++\r
-\r
- Routine Description:\r
- Return the current video mode information.\r
-\r
- Arguments:\r
- This - Protocol instance pointer.\r
- ChildHandle - A child handle produced by the Graphics Output EFI\r
- driver that represents a video output device. \r
- Attributes - The attributes associated with ChildHandle video output device.\r
- EdidSize - A pointer to the size, in bytes, of the Edid buffer.\r
- Edid - A pointer to callee allocated buffer that contains the EDID that\r
- should be used for ChildHandle. A value of NULL \r
- represents no EDID override for ChildHandle.\r
-\r
- Returns:\r
- EFI_SUCCESS - Valid overrides returned for ChildHandle.\r
- EFI_UNSUPPORTED - ChildHandle has no overrides.\r
-\r
---*/\r
-;\r
-\r
-struct _EFI_EDID_OVERRIDE_PROTOCOL {\r
- EFI_EDID_OVERRIDE_PROTOCOL_GET_EDID GetEdid;\r
-};\r
-\r
-extern EFI_GUID gEfiEdidOverrideProtocolGuid;\r
-\r
-#endif\r