summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKonstantin Aladyshev <aladyshev22@gmail.com>2023-10-05 18:04:26 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2023-10-25 13:14:09 +0000
commit884ef984541c3e346d39e423fea53cf25066ff5a (patch)
tree81df288c754f1bbefffa7a6ea5bda52b078ff58a
parent00dbde5fa4e21d9c7cacf01cf119f06860fcfb11 (diff)
downloadedk2-884ef984541c3e346d39e423fea53cf25066ff5a.tar.gz
edk2-884ef984541c3e346d39e423fea53cf25066ff5a.tar.bz2
edk2-884ef984541c3e346d39e423fea53cf25066ff5a.zip
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 <aladyshev22@gmail.com>
-rw-r--r--MdePkg/Include/IndustryStandard/Pldm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/MdePkg/Include/IndustryStandard/Pldm.h b/MdePkg/Include/IndustryStandard/Pldm.h
index c821f081f8..c2909dbd76 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