MdePkg: UEFI JSON Capsule Support
Added Guids and structures, that defines the work flow to perform capsule update using JSON objects. (UEFI 2.8 mantis 1935) Signed-off-by: Oleksiy Yakovlev <oleksiyy@ami.com> Reviewed-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Zhiguang Liu <zhiguang.liu@intel.com>
This commit is contained in:
committed by
mergify[bot]
parent
2552fd58f5
commit
154e243a99
@@ -93,6 +93,35 @@ typedef struct {
|
||||
///
|
||||
} EFI_CAPSULE_RESULT_VARIABLE_FMP;
|
||||
|
||||
typedef struct {
|
||||
|
||||
///
|
||||
/// Version of this structure, currently 0x00000001
|
||||
///
|
||||
UINT32 Version;
|
||||
|
||||
///
|
||||
/// The unique identifier of the capsule whose processing result is recorded in this variable.
|
||||
/// 0x00000000 - 0xEFFFFFFF - Implementation Reserved
|
||||
/// 0xF0000000 - 0xFFFFFFFF - Specification Reserved
|
||||
/// #define REDFISH_DEFINED_JSON_SCHEMA 0xF000000
|
||||
/// The JSON payload shall conform to a Redfish-defined JSON schema, see DMTF-Redfish
|
||||
/// Specification.
|
||||
///
|
||||
UINT32 CapsuleId;
|
||||
|
||||
///
|
||||
/// The length of Resp in bytes.
|
||||
///
|
||||
UINT32 RespLength;
|
||||
|
||||
///
|
||||
/// Variable length buffer containing the replied JSON payload to the caller who delivered JSON
|
||||
/// capsule to system. The definition of the JSON schema used in the replied payload is beyond
|
||||
/// the scope of this specification.
|
||||
///
|
||||
UINT8 Resp[];
|
||||
} EFI_CAPSULE_RESULT_VARIABLE_JSON;
|
||||
|
||||
extern EFI_GUID gEfiCapsuleReportGuid;
|
||||
|
||||
|
Reference in New Issue
Block a user