]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/IndustryStandard/WindowsUxCapsule.h
MdePkg: Add Microsoft UX capsule GUID & layout
[mirror_edk2.git] / MdePkg / Include / IndustryStandard / WindowsUxCapsule.h
diff --git a/MdePkg/Include/IndustryStandard/WindowsUxCapsule.h b/MdePkg/Include/IndustryStandard/WindowsUxCapsule.h
new file mode 100644 (file)
index 0000000..6908218
--- /dev/null
@@ -0,0 +1,46 @@
+/** @file\r
+  Defines Windows UX Capsule GUID and layout defined at Microsoft\r
+  Windows UEFI Firmware Update Platform specification\r
+\r
+  Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>\r
+  This program and the accompanying materials \r
+  are licensed and made available under the terms and conditions of the BSD License\r
+  which accompanies this distribution.  The full text of the license may be found at\r
+  http://opensource.org/licenses/bsd-license.php\r
+\r
+  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+\r
+--*/\r
+\r
+#ifndef _WINDOWS_UX_CAPSULE_GUID_H\r
+#define _WINDOWS_UX_CAPSULE_GUID_H\r
+\r
+#pragma pack(1)\r
+\r
+typedef struct {\r
+   UINT8  Version;\r
+   UINT8  Checksum;\r
+   UINT8  ImageType;\r
+   UINT8  Reserved;\r
+   UINT32 Mode;\r
+   UINT32 OffsetX;\r
+   UINT32 OffsetY;\r
+   //UINT8  Image[];\r
+} DISPLAY_DISPLAY_PAYLOAD;\r
+\r
+typedef struct {\r
+  EFI_CAPSULE_HEADER       CapsuleHeader;\r
+  DISPLAY_DISPLAY_PAYLOAD  ImagePayload;\r
+} EFI_DISPLAY_CAPSULE;\r
+\r
+#pragma pack()\r
+\r
+#define WINDOWS_UX_CAPSULE_GUID \\r
+  { \\r
+    0x3b8c8162, 0x188c, 0x46a4, { 0xae, 0xc9, 0xbe, 0x43, 0xf1, 0xd6, 0x56, 0x97}  \\r
+  }\r
+\r
+extern EFI_GUID gWindowsUxCapsuleGuid;\r
+\r
+#endif\r