~ubuntu-branches/ubuntu/trusty/grub2/trusty-updates

« back to all changes in this revision

Viewing changes to include/grub/efi/edid.h

  • Committer: Package Import Robot
  • Author(s): Colin Watson
  • Date: 2012-09-13 18:02:04 UTC
  • mfrom: (1.17.15 upstream)
  • mto: (17.6.27 experimental)
  • mto: This revision was merged to the branch mainline in revision 145.
  • Revision ID: package-import@ubuntu.com-20120913180204-mojnmocbimlom4im
Tags: upstream-2.00
ImportĀ upstreamĀ versionĀ 2.00

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 *  GRUB  --  GRand Unified Bootloader
 
3
 *  Copyright (C) 2012  Free Software Foundation, Inc.
 
4
 *
 
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.
 
9
 *
 
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.
 
14
 *
 
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/>.
 
17
 */
 
18
 
 
19
#ifndef GRUB_EFI_EDID_HEADER
 
20
#define GRUB_EFI_EDID_HEADER    1
 
21
 
 
22
/* Based on UEFI specification.  */
 
23
 
 
24
#define GRUB_EFI_EDID_ACTIVE_GUID \
 
25
  { 0xbd8c1056, 0x9f36, 0x44ec, { 0x92, 0xa8, 0xa6, 0x33, 0x7f, 0x81, 0x79, 0x86 }}
 
26
 
 
27
#define GRUB_EFI_EDID_DISCOVERED_GUID \
 
28
  {0x1c0c34f6,0xd380,0x41fa, {0xa0,0x49,0x8a,0xd0,0x6c,0x1a,0x66,0xaa}}
 
29
 
 
30
#define GRUB_EFI_EDID_OVERRIDE_GUID \
 
31
  {0x48ecb431,0xfb72,0x45c0, {0xa9,0x22,0xf4,0x58,0xfe,0x4,0xb,0xd5}}
 
32
 
 
33
struct grub_efi_edid_override;
 
34
 
 
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;
 
43
};
 
44
 
 
45
typedef struct grub_efi_edid_override grub_efi_edid_override_t;
 
46
  
 
47
 
 
48
struct grub_efi_active_edid
 
49
{
 
50
  grub_uint32_t size_of_edid;
 
51
  grub_uint8_t *edid;
 
52
};
 
53
 
 
54
#endif