]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/EdidOverride.h
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / MdePkg / Include / Protocol / EdidOverride.h
index 1bb51f09081e58bd754cc63fa0d0f0e1cbb2c02a..065a0ccd8a768891bc7c829e8ed22407ea10e9a1 100644 (file)
@@ -1,17 +1,11 @@
 /** @file\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
+  Allow platform to provide EDID information to the producer of the Graphics Output\r
   protocol.\r
 \r
-  Copyright (c) 2006 - 2008, Intel Corporation                                                         \r
-  All rights reserved. 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
+  Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
+  SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\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
+#define EFI_EDID_OVERRIDE_DONT_OVERRIDE    0x01\r
+#define EFI_EDID_OVERRIDE_ENABLE_HOT_PLUG  0x02\r
 \r
 /**\r
-  Return the current video mode information.\r
+  Returns policy information and potentially a replacement EDID for the specified video output device.\r
 \r
-  @param  This              Protocol instance pointer.\r
+  @param  This              The EFI_EDID_OVERRIDE_PROTOCOL instance.\r
   @param  ChildHandle       A child handle produced by the Graphics Output EFI\r
                             driver that represents a video output device.\r
   @param  Attributes        The attributes associated with ChildHandle video output device.\r
@@ -50,23 +44,18 @@ EFI_STATUS
   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
+  OUT UINTN                               *EdidSize,\r
+  OUT UINT8                               **Edid\r
   );\r
 \r
-/**\r
-  @par Protocol Description:\r
-  This protocol is produced by the platform to allow the platform to provide \r
-  EDID information to the producer of the Graphics Output protocol.\r
-\r
-  @param GetEdid \r
-  Returns EDID values and attributes that the Video BIOS must use. \r
-\r
-**/\r
+///\r
+/// This protocol is produced by the platform to allow the platform to provide\r
+/// EDID information to the producer of the Graphics Output protocol.\r
+///\r
 struct _EFI_EDID_OVERRIDE_PROTOCOL {\r
-  EFI_EDID_OVERRIDE_PROTOCOL_GET_EDID   GetEdid;\r
+  EFI_EDID_OVERRIDE_PROTOCOL_GET_EDID    GetEdid;\r
 };\r
-                                             \r
-extern EFI_GUID gEfiEdidOverrideProtocolGuid;\r
+\r
+extern EFI_GUID  gEfiEdidOverrideProtocolGuid;\r
 \r
 #endif\r