Subrata Banik | 20fe24b | 2021-12-09 02:46:38 +0530 | [diff] [blame] | 1 | /** @file |
| 2 | Defines Windows UX Capsule GUID and layout defined at Microsoft |
| 3 | Windows UEFI Firmware Update Platform specification |
| 4 | |
| 5 | Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR> |
| 6 | SPDX-License-Identifier: BSD-2-Clause-Patent |
| 7 | |
| 8 | **/ |
| 9 | |
| 10 | |
| 11 | #ifndef _WINDOWS_UX_CAPSULE_GUID_H_ |
| 12 | #define _WINDOWS_UX_CAPSULE_GUID_H_ |
| 13 | |
| 14 | #pragma pack(1) |
| 15 | |
| 16 | typedef struct { |
| 17 | UINT8 Version; |
| 18 | UINT8 Checksum; |
| 19 | UINT8 ImageType; |
| 20 | UINT8 Reserved; |
| 21 | UINT32 Mode; |
| 22 | UINT32 OffsetX; |
| 23 | UINT32 OffsetY; |
| 24 | //UINT8 Image[]; |
| 25 | } DISPLAY_DISPLAY_PAYLOAD; |
| 26 | |
| 27 | typedef struct { |
| 28 | EFI_CAPSULE_HEADER CapsuleHeader; |
| 29 | DISPLAY_DISPLAY_PAYLOAD ImagePayload; |
| 30 | } EFI_DISPLAY_CAPSULE; |
| 31 | |
| 32 | #pragma pack() |
| 33 | |
| 34 | #define WINDOWS_UX_CAPSULE_GUID \ |
| 35 | { \ |
| 36 | 0x3b8c8162, 0x188c, 0x46a4, { 0xae, 0xc9, 0xbe, 0x43, 0xf1, 0xd6, 0x56, 0x97} \ |
| 37 | } |
| 38 | |
| 39 | extern EFI_GUID gWindowsUxCapsuleGuid; |
| 40 | |
| 41 | #endif |