oem_ibm: Add Slot enable infrastructure in BMC
With this commit PDRs are created for each of these
PCIe slots and adapters which have a corresponding
entry in the entity associate map. The sensor/effector
states are monitored and accordingly D-Bus calls are
sent for enabling a slot, process property change
of a PCIe slot, etc.
Tested By: SIMICS power on/off and reset reload.
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
Change-Id: I51b79b75c909ddf2cc29872fec6aa01c2d56b418
diff --git a/libpldmresponder/oem_handler.hpp b/libpldmresponder/oem_handler.hpp
index bd65dd2..8215b37 100644
--- a/libpldmresponder/oem_handler.hpp
+++ b/libpldmresponder/oem_handler.hpp
@@ -22,8 +22,10 @@
*
* @param[in] entityType - entity type corresponding to the sensor
* @param[in] entityInstance - entity instance number
+ * @param[in] entityContainerID - container id
* @param[in] stateSetId - state set id
* @param[in] compSensorCnt - composite sensor count
+ * @param[in] sensorId - sensor ID
* @param[out] stateField - The state field data for each of the states,
* equal to composite sensor count in number
*
@@ -34,8 +36,9 @@
virtual int getOemStateSensorReadingsHandler(
pldm::pdr::EntityType entityType,
pldm::pdr::EntityInstance entityInstance,
+ pldm::pdr::ContainerID entityContainerId,
pldm::pdr::StateSetId stateSetId,
- pldm::pdr::CompositeCount compSensorCnt,
+ pldm::pdr::CompositeCount compSensorCnt, uint16_t sensorId,
std::vector<get_sensor_state_field>& stateField) = 0;
/** @brief Interface to set the effecter requested by pldm requester