Add Microsoft UX capsule GUID & layout into IndustryStandard Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chao Zhang <chao.b.zh...@intel.com> --- MdePkg/Include/IndustryStandard/WindowsUxCapsule.h | 53 ++++++++++++++++++++++ MdePkg/MdePkg.dec | 5 ++ 2 files changed, 58 insertions(+) create mode 100644 MdePkg/Include/IndustryStandard/WindowsUxCapsule.h diff --git a/MdePkg/Include/IndustryStandard/WindowsUxCapsule.h b/MdePkg/Include/IndustryStandard/WindowsUxCapsule.h new file mode 100644 index 0000000..349afc9 --- /dev/null +++ b/MdePkg/Include/IndustryStandard/WindowsUxCapsule.h @@ -0,0 +1,53 @@ +/** @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 _DISPLAY_DISPLAY_PAYLOAD DISPLAY_DISPLAY_PAYLOAD; + +// +// Forward reference for pure ANSI compatability +// +struct _DISPLAY_DISPLAY_PAYLOAD { + UINT8 Version; + UINT8 Checksum; + UINT8 ImageType; + UINT8 Reserved; + UINT32 Mode; + UINT32 OffsetX; + UINT32 OffsetY; + UINT8 Image[1]; +}; + +typedef struct _EFI_DISPLAY_CAPSULE EFI_DISPLAY_CAPSULE; + +struct _EFI_DISPLAY_CAPSULE { + EFI_CAPSULE_HEADER CapsuleHeader; + DISPLAY_DISPLAY_PAYLOAD ImagePayload; +}; + +#pragma pack() + +#define WINDOWS_UX_CAPSULE_GUID \ + { \ + 0x3b8c8162, 0x188c, 0x46a4, { 0xae, 0xc9, 0xbe, 0x43, 0xf1, 0xd6, 0x56, 0x97} \ + } + +extern EFI_GUID gWindowsUxCapsuleGuid; + +#endif diff --git a/MdePkg/MdePkg.dec b/MdePkg/MdePkg.dec index c5366d8..9e1a917 100644 --- a/MdePkg/MdePkg.dec +++ b/MdePkg/MdePkg.dec @@ -798,6 +798,11 @@ ## Include/Ppi/MpServices.h gEfiPeiMpServicesPpiGuid = { 0xee16160a, 0xe8be, 0x47a6, { 0x82, 0xa, 0xc6, 0x90, 0xd, 0xb0, 0x25, 0xa } } + # + # GUID defined in Windows UEFI Firmware Update Platform doc + # + ## Include/IndustryStandard/WindowsUxCapsule.h + gWindowsUxCapsuleGuid = { 0x3b8c8162, 0x188c, 0x46a4, { 0xae, 0xc9, 0xbe, 0x43, 0xf1, 0xd6, 0x56, 0x97}} [Protocols] -- 1.9.5.msysgit.1 ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel