From 884ef984541c3e346d39e423fea53cf25066ff5a Mon Sep 17 00:00:00 2001 From: Konstantin Aladyshev Date: Thu, 5 Oct 2023 18:04:26 +0300 Subject: [PATCH] MdePkg/Pldm.h: Add define for the PLDM response flag 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 --- MdePkg/Include/IndustryStandard/Pldm.h | 1 + 1 file changed, 1 insertion(+) diff --git a/MdePkg/Include/IndustryStandard/Pldm.h b/MdePkg/Include/IndustryStandard/Pldm.h index c821f081f8d8..c2909dbd76cd 100644 --- a/MdePkg/Include/IndustryStandard/Pldm.h +++ b/MdePkg/Include/IndustryStandard/Pldm.h @@ -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