]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Include/IndustryStandard/WindowsUxCapsule.h
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / MdePkg / Include / IndustryStandard / WindowsUxCapsule.h
1 /** @file
2 Defines Windows UX Capsule GUID and layout defined at Microsoft
3 Windows UEFI Firmware Update Platform specification
4
5 Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR>
6 SPDX-License-Identifier: BSD-2-Clause-Patent
7
8 **/
9
10 #ifndef _WINDOWS_UX_CAPSULE_GUID_H_
11 #define _WINDOWS_UX_CAPSULE_GUID_H_
12
13 #pragma pack(1)
14
15 typedef struct {
16 UINT8 Version;
17 UINT8 Checksum;
18 UINT8 ImageType;
19 UINT8 Reserved;
20 UINT32 Mode;
21 UINT32 OffsetX;
22 UINT32 OffsetY;
23 // UINT8 Image[];
24 } DISPLAY_DISPLAY_PAYLOAD;
25
26 typedef struct {
27 EFI_CAPSULE_HEADER CapsuleHeader;
28 DISPLAY_DISPLAY_PAYLOAD ImagePayload;
29 } EFI_DISPLAY_CAPSULE;
30
31 #pragma pack()
32
33 #define WINDOWS_UX_CAPSULE_GUID \
34 { \
35 0x3b8c8162, 0x188c, 0x46a4, { 0xae, 0xc9, 0xbe, 0x43, 0xf1, 0xd6, 0x56, 0x97} \
36 }
37
38 extern EFI_GUID gWindowsUxCapsuleGuid;
39
40 #endif