diff options
Diffstat (limited to 'roms/edk2/MdePkg/Include/IndustryStandard/WindowsUxCapsule.h')
-rw-r--r-- | roms/edk2/MdePkg/Include/IndustryStandard/WindowsUxCapsule.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/roms/edk2/MdePkg/Include/IndustryStandard/WindowsUxCapsule.h b/roms/edk2/MdePkg/Include/IndustryStandard/WindowsUxCapsule.h new file mode 100644 index 000000000..07b676f72 --- /dev/null +++ b/roms/edk2/MdePkg/Include/IndustryStandard/WindowsUxCapsule.h @@ -0,0 +1,41 @@ +/** @file
+ Defines Windows UX Capsule GUID and layout defined at Microsoft
+ Windows UEFI Firmware Update Platform specification
+
+ Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR>
+ SPDX-License-Identifier: BSD-2-Clause-Patent
+
+**/
+
+
+#ifndef _WINDOWS_UX_CAPSULE_GUID_H_
+#define _WINDOWS_UX_CAPSULE_GUID_H_
+
+#pragma pack(1)
+
+typedef struct {
+ UINT8 Version;
+ UINT8 Checksum;
+ UINT8 ImageType;
+ UINT8 Reserved;
+ UINT32 Mode;
+ UINT32 OffsetX;
+ UINT32 OffsetY;
+ //UINT8 Image[];
+} DISPLAY_DISPLAY_PAYLOAD;
+
+typedef struct {
+ EFI_CAPSULE_HEADER CapsuleHeader;
+ DISPLAY_DISPLAY_PAYLOAD ImagePayload;
+} EFI_DISPLAY_CAPSULE;
+
+#pragma pack()
+
+#define WINDOWS_UX_CAPSULE_GUID \
+ { \
+ 0x3b8c8162, 0x188c, 0x46a4, { 0xae, 0xc9, 0xbe, 0x43, 0xf1, 0xd6, 0x56, 0x97} \
+ }
+
+extern EFI_GUID gWindowsUxCapsuleGuid;
+
+#endif
|