Skip to content

Commit

Permalink
MdePkg/Pldm.h: Add define for the PLDM response flag
Browse files Browse the repository at this point in the history
The PLDM protocol uses Request bit to help differentiate between PLDM
request and response messages.
Currently the Pldm.h header only have a flag for the request message.
Add a flag for the response message as well.

Signed-off-by: Konstantin Aladyshev <[email protected]>
  • Loading branch information
Kostr authored and mergify[bot] committed Oct 25, 2023
1 parent 00dbde5 commit 884ef98
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions MdePkg/Include/IndustryStandard/Pldm.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ typedef struct {
typedef PLDM_MESSAGE_HEADER PLDM_REQUEST_HEADER;

#define PLDM_MESSAGE_HEADER_IS_REQUEST 1
#define PLDM_MESSAGE_HEADER_IS_RESPONSE 0
#define PLDM_MESSAGE_HEADER_IS_DATAGRAM 1
#define PLDM_MESSAGE_HEADER_INSTANCE_ID_MASK 0x1f

Expand Down

0 comments on commit 884ef98

Please sign in to comment.