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