From 0585de95306d3e4c04f89dbed2bc413a9dee8cd6 Mon Sep 17 00:00:00 2001 From: Thu Nguyen Date: Wed, 2 Nov 2022 09:57:25 +0700 Subject: [PATCH] Add effecter aux name PDR struct Add the definition for effecter aux name PDR struct base on "28.15 Effecter Auxiliary Names PDR" section of DSP0248 1.2.1 specification. Signed-off-by: Thu Nguyen Change-Id: I3ff170f81097eef36932cd18741fef282f790959 --- include/libpldm/platform.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/include/libpldm/platform.h b/include/libpldm/platform.h index 4350ed4f0..5e1a3dcec 100644 --- a/include/libpldm/platform.h +++ b/include/libpldm/platform.h @@ -653,6 +653,18 @@ struct state_effecter_possible_states { bitfield8_t states[1]; } __attribute__((packed)); +/** @struct pldm_effecter_aux_name_pdr + * + * Structure representing PLDM aux name numeric effecter value PDR + */ +struct pldm_effecter_aux_name_pdr { + struct pldm_pdr_hdr hdr; + uint16_t terminus_handle; + uint16_t effecter_id; + uint8_t effecter_count; + uint8_t effecter_names[1]; +} __attribute__((packed)); + /** @brief Encode PLDM state effecter PDR * * @param[in/out] effecter Structure to encode. All members of