libpldmresponder: implement handler for GetPDR
This commit implements the GetPDR command as defined in DSP0248 v1.1.1.
Multipart PDR transfers are still not implemented.
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
Change-Id: Ic520a914e8228b723521151f4ba1eed947179047
diff --git a/libpldm/platform.h b/libpldm/platform.h
index 746ae4f..8e186a0 100644
--- a/libpldm/platform.h
+++ b/libpldm/platform.h
@@ -43,6 +43,12 @@
PLDM_DISABLE_EFECTER
};
+/** @brief PLDM Platform M&C completion codes
+ */
+enum pldm_platform_completion_codes {
+ PLDM_PLATFORM_INVALID_RECORD_HANDLE = 0x82,
+};
+
/** @struct pldm_pdr_hdr
*
* Structure representing PLDM common PDR header