blob: d283bf2e60e4e1cde2a31428e5326a412772d667 [file] [log] [blame]
Subrata Banik8b9f2892018-01-25 10:50:39 +05301/** @file
2 Defines Windows UX Capsule GUID and layout defined at Microsoft
3 Windows UEFI Firmware Update Platform specification
4
5 Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>
Peter Lemenkov7bbe3bb2018-12-07 11:23:21 +01006 This program and the accompanying materials
Subrata Banik8b9f2892018-01-25 10:50:39 +05307 are licensed and made available under the terms and conditions of the BSD License
8 which accompanies this distribution. The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php
10
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13
14**/
15
16
17#ifndef _WINDOWS_UX_CAPSULE_GUID_H_
18#define _WINDOWS_UX_CAPSULE_GUID_H_
19
20#pragma pack(1)
21
22typedef struct {
23 UINT8 Version;
24 UINT8 Checksum;
25 UINT8 ImageType;
26 UINT8 Reserved;
27 UINT32 Mode;
28 UINT32 OffsetX;
29 UINT32 OffsetY;
30 //UINT8 Image[];
31} DISPLAY_DISPLAY_PAYLOAD;
32
33typedef struct {
34 EFI_CAPSULE_HEADER CapsuleHeader;
35 DISPLAY_DISPLAY_PAYLOAD ImagePayload;
36} EFI_DISPLAY_CAPSULE;
37
38#pragma pack()
39
40#define WINDOWS_UX_CAPSULE_GUID \
41 { \
42 0x3b8c8162, 0x188c, 0x46a4, { 0xae, 0xc9, 0xbe, 0x43, 0xf1, 0xd6, 0x56, 0x97} \
43 }
44
45extern EFI_GUID gWindowsUxCapsuleGuid;
46
47#endif