]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdePkg: Add Microsoft UX capsule GUID & layout
authorChao Zhang <chao.b.zhang@intel.com>
Wed, 13 May 2015 08:27:04 +0000 (08:27 +0000)
committerczhang46 <czhang46@Edk2>
Wed, 13 May 2015 08:27:04 +0000 (08:27 +0000)
Add Microsoft UX capsule GUID & layout into IndustryStandard

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chao Zhang <chao.b.zhang@intel.com>
Reviewed-by: Gao Liming <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17424 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Include/IndustryStandard/WindowsUxCapsule.h [new file with mode: 0644]
MdePkg/MdePkg.dec

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
index b0d24603c177c9fb9ab265ee4249beacce03a27a..fbcf4017d85988d7d77e0af709d2e423220148b3 100644 (file)
   ## Include/Protocol/DiskInfo.h\r
   gEfiDiskInfoUfsInterfaceGuid   = { 0x4b3029cc, 0x6b98, 0x47fb, { 0xbc, 0x96, 0x76, 0xdc, 0xb8, 0x4, 0x41, 0xf0 }}\r
 \r
+  #\r
+  # GUID defined in Windows UEFI Firmware Update Platform doc\r
+  #\r
+  ## Include/IndustryStandard/WindowsUxCapsule.h\r
+  gWindowsUxCapsuleGuid          = { 0x3b8c8162, 0x188c, 0x46a4, { 0xae, 0xc9, 0xbe, 0x43, 0xf1, 0xd6, 0x56, 0x97}}\r
+\r
 [Guids.IA32, Guids.X64]\r
   ## Include/Guid/Cper.h\r
   gEfiIa32X64ErrorTypeCacheCheckGuid = { 0xA55701F5, 0xE3EF, 0x43de, { 0xAC, 0x72, 0x24, 0x9B, 0x57, 0x3F, 0xAD, 0x2C }}\r