2 * GRUB -- GRand Unified Bootloader
3 * Copyright (C) 2012 Free Software Foundation, Inc.
5 * GRUB is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
10 * GRUB is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with GRUB. If not, see <http://www.gnu.org/licenses/>.
19 #ifndef GRUB_EFI_EDID_HEADER
20 #define GRUB_EFI_EDID_HEADER 1
22 /* Based on UEFI specification. */
24 #define GRUB_EFI_EDID_ACTIVE_GUID \
25 { 0xbd8c1056, 0x9f36, 0x44ec, { 0x92, 0xa8, 0xa6, 0x33, 0x7f, 0x81, 0x79, 0x86 }}
27 #define GRUB_EFI_EDID_DISCOVERED_GUID \
28 {0x1c0c34f6,0xd380,0x41fa, {0xa0,0x49,0x8a,0xd0,0x6c,0x1a,0x66,0xaa}}
30 #define GRUB_EFI_EDID_OVERRIDE_GUID \
31 {0x48ecb431,0xfb72,0x45c0, {0xa9,0x22,0xf4,0x58,0xfe,0x4,0xb,0xd5}}
33 struct grub_efi_edid_override
;
35 typedef grub_efi_status_t
36 (*grub_efi_edid_override_get_edid
) (struct grub_efi_edid_override
*this,
37 grub_efi_handle_t
*childhandle
,
38 grub_efi_uint32_t
*attributes
,
39 grub_efi_uintn_t
*edidsize
,
40 grub_efi_uint8_t
*edid
);
41 struct grub_efi_edid_override
{
42 grub_efi_edid_override_get_edid get_edid
;
45 typedef struct grub_efi_edid_override grub_efi_edid_override_t
;
48 struct grub_efi_active_edid
50 grub_uint32_t size_of_edid
;