2009-07-17 11:10:31 +02:00
|
|
|
/** @file
|
|
|
|
Defines for the EFI Capsule functionality.
|
2014-08-28 15:53:34 +02:00
|
|
|
@par Revision Reference:
|
|
|
|
These definitions are from Uefi Spec.
|
2009-07-17 11:10:31 +02:00
|
|
|
|
2014-08-28 15:53:34 +02:00
|
|
|
Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
|
2009-07-17 11:10:31 +02:00
|
|
|
|
2019-04-04 01:03:11 +02:00
|
|
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
2009-07-17 11:10:31 +02:00
|
|
|
|
|
|
|
**/
|
|
|
|
|
|
|
|
#ifndef _EFI_CAPSULE_H_
|
|
|
|
#define _EFI_CAPSULE_H_
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
EFI_GUID CapsuleGuid;
|
|
|
|
UINT32 HeaderSize;
|
|
|
|
UINT32 Flags;
|
|
|
|
UINT32 CapsuleImageSize;
|
|
|
|
} EFI_CAPSULE_HEADER;
|
|
|
|
|
|
|
|
#define CAPSULE_FLAGS_PERSIST_ACROSS_RESET 0x00010000
|
|
|
|
#define CAPSULE_FLAGS_POPULATE_SYSTEM_TABLE 0x00020000
|
2009-09-11 05:14:43 +02:00
|
|
|
#define CAPSULE_FLAGS_INITIATE_RESET 0x00040000
|
2009-07-17 11:10:31 +02:00
|
|
|
|
|
|
|
#endif // #ifndef _EFI_CAPSULE_H_
|