Home | History | Annotate | Download | only in IndustryStandard
      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, Intel Corporation. All rights reserved.<BR>
      6   This program and the accompanying materials
      7   are licensed and made available under the terms and conditions of the BSD License
      8   which accompanies this distribution.  The full text of the license may be found at
      9   http://opensource.org/licenses/bsd-license.php
     10 
     11   THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
     12   WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
     13 
     14 **/
     15 
     16 
     17 #ifndef _WINDOWS_UX_CAPSULE_GUID_H_
     18 #define _WINDOWS_UX_CAPSULE_GUID_H_
     19 
     20 #pragma pack(1)
     21 
     22 typedef struct {
     23    UINT8  Version;
     24    UINT8  Checksum;
     25    UINT8  ImageType;
     26    UINT8  Reserved;
     27    UINT32 Mode;
     28    UINT32 OffsetX;
     29    UINT32 OffsetY;
     30    //UINT8  Image[];
     31 } DISPLAY_DISPLAY_PAYLOAD;
     32 
     33 typedef struct {
     34   EFI_CAPSULE_HEADER       CapsuleHeader;
     35   DISPLAY_DISPLAY_PAYLOAD  ImagePayload;
     36 } EFI_DISPLAY_CAPSULE;
     37 
     38 #pragma pack()
     39 
     40 #define WINDOWS_UX_CAPSULE_GUID \
     41   { \
     42     0x3b8c8162, 0x188c, 0x46a4, { 0xae, 0xc9, 0xbe, 0x43, 0xf1, 0xd6, 0x56, 0x97}  \
     43   }
     44 
     45 extern EFI_GUID gWindowsUxCapsuleGuid;
     46 
     47 #endif
     48