TianoCore EDK2
master
Loading...
Searching...
No Matches
JsonCapsule.h
Go to the documentation of this file.
1
11
#ifndef __JSON_CAPSULE_GUID_H__
12
#define __JSON_CAPSULE_GUID_H__
13
14
//
15
// The address reported in the table entry identified by EFI_JSON_CAPSULE_DATA_TABLE_GUID will be
16
// referenced as physical and will not be fixed up when transition from preboot to runtime phase. The
17
// addresses reported in these table entries identified by EFI_JSON_CONFIG_DATA_TABLE_GUID and
18
// EFI_JSON_CAPSULE_RESULT_TABLE_GUID will be referenced as virtual and will be fixed up when
19
// transition from preboot to runtime phase.
20
//
21
#define EFI_JSON_CONFIG_DATA_TABLE_GUID \
22
{0x87367f87, 0x1119, 0x41ce, \
23
{0xaa, 0xec, 0x8b, 0xe0, 0x11, 0x1f, 0x55, 0x8a }}
24
#define EFI_JSON_CAPSULE_DATA_TABLE_GUID \
25
{0x35e7a725, 0x8dd2, 0x4cac, \
26
{0x80, 0x11, 0x33, 0xcd, 0xa8, 0x10, 0x90, 0x56 }}
27
#define EFI_JSON_CAPSULE_RESULT_TABLE_GUID \
28
{0xdbc461c3, 0xb3de, 0x422a,\
29
{0xb9, 0xb4, 0x98, 0x86, 0xfd, 0x49, 0xa1, 0xe5 }}
30
#define EFI_JSON_CAPSULE_ID_GUID \
31
{0x67d6f4cd, 0xd6b8, 0x4573, \
32
{0xbf, 0x4a, 0xde, 0x5e, 0x25, 0x2d, 0x61, 0xae }}
33
34
#pragma pack(1)
35
36
typedef
struct
{
40
UINT32
Version
;
41
45
UINT32
CapsuleId
;
46
50
UINT32
PayloadLength
;
51
56
UINT8 Payload[];
57
}
EFI_JSON_CAPSULE_HEADER
;
58
59
typedef
struct
{
63
UINT32
ConfigDataLength
;
64
69
UINT8 ConfigData[];
70
}
EFI_JSON_CONFIG_DATA_ITEM
;
71
72
typedef
struct
{
76
UINT32
Version
;
77
81
UINT32
TotalLength
;
82
86
EFI_JSON_CONFIG_DATA_ITEM
ConfigDataList[];
87
}
EFI_JSON_CAPSULE_CONFIG_DATA
;
88
89
#pragma pack()
90
91
extern
EFI_GUID
gEfiJsonConfigDataTableGuid;
92
extern
EFI_GUID
gEfiJsonCapsuleDataTableGuid;
93
extern
EFI_GUID
gEfiJsonCapsuleResultTableGuid;
94
extern
EFI_GUID
gEfiJsonCapsuleIdGuid;
95
96
#endif
EFI_JSON_CAPSULE_CONFIG_DATA
Definition:
JsonCapsule.h:72
EFI_JSON_CAPSULE_CONFIG_DATA::TotalLength
UINT32 TotalLength
Definition:
JsonCapsule.h:81
EFI_JSON_CAPSULE_CONFIG_DATA::Version
UINT32 Version
Definition:
JsonCapsule.h:76
EFI_JSON_CAPSULE_HEADER
Definition:
JsonCapsule.h:36
EFI_JSON_CAPSULE_HEADER::CapsuleId
UINT32 CapsuleId
Definition:
JsonCapsule.h:45
EFI_JSON_CAPSULE_HEADER::Version
UINT32 Version
Definition:
JsonCapsule.h:40
EFI_JSON_CAPSULE_HEADER::PayloadLength
UINT32 PayloadLength
Definition:
JsonCapsule.h:50
EFI_JSON_CONFIG_DATA_ITEM
Definition:
JsonCapsule.h:59
EFI_JSON_CONFIG_DATA_ITEM::ConfigDataLength
UINT32 ConfigDataLength
Definition:
JsonCapsule.h:63
GUID
Definition:
Base.h:213
MdePkg
Include
Guid
JsonCapsule.h
Generated on Fri Nov 15 2024 18:01:14 for TianoCore EDK2 by
1.9.6