xref: /freebsd/stand/efi/include/Protocol/EdidDiscovered.h (revision 2a63c3be158216222d89a073dcbd6a72ee4aab5a)
1*65641822SToomas Soome /** @file
2*65641822SToomas Soome   EDID Discovered Protocol from the UEFI 2.0 specification.
3*65641822SToomas Soome 
4*65641822SToomas Soome   This protocol is placed on the video output device child handle. It represents
5*65641822SToomas Soome   the EDID information being used for the output device represented by the child handle.
6*65641822SToomas Soome 
7*65641822SToomas Soome   Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>
8*65641822SToomas Soome   This program and the accompanying materials
9*65641822SToomas Soome   are licensed and made available under the terms and conditions of the BSD License
10*65641822SToomas Soome   which accompanies this distribution.  The full text of the license may be found at
11*65641822SToomas Soome   http://opensource.org/licenses/bsd-license.php
12*65641822SToomas Soome 
13*65641822SToomas Soome   THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
14*65641822SToomas Soome   WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15*65641822SToomas Soome 
16*65641822SToomas Soome **/
17*65641822SToomas Soome 
18*65641822SToomas Soome #ifndef __EDID_DISCOVERED_H__
19*65641822SToomas Soome #define __EDID_DISCOVERED_H__
20*65641822SToomas Soome 
21*65641822SToomas Soome #define EFI_EDID_DISCOVERED_PROTOCOL_GUID \
22*65641822SToomas Soome   { \
23*65641822SToomas Soome     0x1c0c34f6, 0xd380, 0x41fa, {0xa0, 0x49, 0x8a, 0xd0, 0x6c, 0x1a, 0x66, 0xaa } \
24*65641822SToomas Soome   }
25*65641822SToomas Soome 
26*65641822SToomas Soome ///
27*65641822SToomas Soome /// This protocol contains the EDID information retrieved from a video output device.
28*65641822SToomas Soome ///
29*65641822SToomas Soome typedef struct {
30*65641822SToomas Soome   ///
31*65641822SToomas Soome   /// The size, in bytes, of the Edid buffer. 0 if no EDID information
32*65641822SToomas Soome   /// is available from the video output device. Otherwise, it must be a
33*65641822SToomas Soome   /// minimum of 128 bytes.
34*65641822SToomas Soome   ///
35*65641822SToomas Soome   UINT32   SizeOfEdid;
36*65641822SToomas Soome 
37*65641822SToomas Soome   ///
38*65641822SToomas Soome   /// A pointer to a read-only array of bytes that contains the EDID
39*65641822SToomas Soome   /// information for an active video output device. This pointer is
40*65641822SToomas Soome   /// NULL if no EDID information is available for the video output
41*65641822SToomas Soome   /// device. The minimum size of a valid Edid buffer is 128 bytes.
42*65641822SToomas Soome   /// EDID information is defined in the E-EDID EEPROM
43*65641822SToomas Soome   /// specification published by VESA (www.vesa.org).
44*65641822SToomas Soome   ///
45*65641822SToomas Soome   UINT8    *Edid;
46*65641822SToomas Soome } EFI_EDID_DISCOVERED_PROTOCOL;
47*65641822SToomas Soome 
48*65641822SToomas Soome extern EFI_GUID gEfiEdidDiscoveredProtocolGuid;
49*65641822SToomas Soome 
50*65641822SToomas Soome #endif
51