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
This commit is contained in:
Chao Zhang 2015-05-13 08:27:04 +00:00 committed by czhang46
parent 6f7c885a96
commit 32df01ff68
2 changed files with 52 additions and 0 deletions

View File

@ -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

View File

@ -693,6 +693,12 @@
## Include/Protocol/DiskInfo.h
gEfiDiskInfoUfsInterfaceGuid = { 0x4b3029cc, 0x6b98, 0x47fb, { 0xbc, 0x96, 0x76, 0xdc, 0xb8, 0x4, 0x41, 0xf0 }}
#
# 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}}
[Guids.IA32, Guids.X64]
## Include/Guid/Cper.h
gEfiIa32X64ErrorTypeCacheCheckGuid = { 0xA55701F5, 0xE3EF, 0x43de, { 0xAC, 0x72, 0x24, 0x9B, 0x57, 0x3F, 0xAD, 0x2C }}