summaryrefslogtreecommitdiffstats
path: root/MdePkg/Include/IndustryStandard/WindowsUxCapsule.h
diff options
context:
space:
mode:
authorChao Zhang <chao.b.zhang@intel.com>2015-05-13 08:27:04 +0000
committerczhang46 <czhang46@Edk2>2015-05-13 08:27:04 +0000
commit32df01ff685b9de50555bac040166b17a061ea9b (patch)
tree82218b7017dc2a51409d53369f690bf2fe1f79e9 /MdePkg/Include/IndustryStandard/WindowsUxCapsule.h
parent6f7c885a96c0125b5c69ab6fb278e280dd403714 (diff)
downloadedk2-32df01ff685b9de50555bac040166b17a061ea9b.tar.gz
edk2-32df01ff685b9de50555bac040166b17a061ea9b.tar.bz2
edk2-32df01ff685b9de50555bac040166b17a061ea9b.zip
MdePkg: Add Microsoft UX capsule GUID & layout
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
Diffstat (limited to 'MdePkg/Include/IndustryStandard/WindowsUxCapsule.h')
-rw-r--r--MdePkg/Include/IndustryStandard/WindowsUxCapsule.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/MdePkg/Include/IndustryStandard/WindowsUxCapsule.h b/MdePkg/Include/IndustryStandard/WindowsUxCapsule.h
new file mode 100644
index 0000000000..6908218c5b
--- /dev/null
+++ b/MdePkg/Include/IndustryStandard/WindowsUxCapsule.h
@@ -0,0 +1,46 @@
+/** @file
+ Defines Windows UX Capsule GUID and layout defined at Microsoft
+ Windows UEFI Firmware Update Platform specification
+
+ Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>
+ This program and the accompanying materials
+ are licensed and made available under the terms and conditions of the BSD License
+ which accompanies this distribution. The full text of the license may be found at
+ http://opensource.org/licenses/bsd-license.php
+
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+--*/
+
+#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