Home | History | Annotate | Download | only in Common
      1 /** @file
      2   Defines for the EFI Capsule functionality.
      3   @par Revision Reference:
      4   These definitions are from Uefi Spec.
      5 
      6   Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
      7 
      8   This program and the accompanying materials are licensed and made available
      9   under the terms and conditions of the BSD License which accompanies this
     10   distribution.  The full text of the license may be found at
     11     http://opensource.org/licenses/bsd-license.php
     12 
     13   THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
     14   WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
     15 
     16 **/
     17 
     18 #ifndef _EFI_CAPSULE_H_
     19 #define _EFI_CAPSULE_H_
     20 
     21 typedef struct {
     22   EFI_GUID          CapsuleGuid;
     23   UINT32            HeaderSize;
     24   UINT32            Flags;
     25   UINT32            CapsuleImageSize;
     26 } EFI_CAPSULE_HEADER;
     27 
     28 #define CAPSULE_FLAGS_PERSIST_ACROSS_RESET          0x00010000
     29 #define CAPSULE_FLAGS_POPULATE_SYSTEM_TABLE         0x00020000
     30 #define CAPSULE_FLAGS_INITIATE_RESET                0x00040000
     31 
     32 #endif // #ifndef _EFI_CAPSULE_H_
     33