/openbmc/pldm/libpldmresponder/test/ |
H A D | mocked_bios.hpp | 9 class MockBIOSStringTable : public pldm::responder::bios::BIOSStringTable 19 void checkHeader(const pldm::responder::bios::Table& attrEntry, in checkHeader() 20 const pldm::responder::bios::Table& attrValueEntry) in checkHeader() 22 auto attrHeader = pldm::responder::bios::table::attribute::decodeHeader( in checkHeader() 25 pldm::responder::bios::table::attribute_value::decodeHeader( in checkHeader() 32 void checkEntry(pldm::responder::bios::Table& entry, in checkEntry() 33 pldm::responder::bios::Table& expectedEntry) in checkEntry() 50 void checkConstructEntry(pldm::responder::bios::BIOSAttribute& attribute, in checkConstructEntry() 51 pldm::responder::bios::BIOSStringTable& stringTable, in checkConstructEntry() 52 pldm::responder::bios::Table& expectedAttrEntry, in checkConstructEntry() [all …]
|
H A D | libpldmresponder_fru_test.cpp | 14 using namespace pldm::responder::fru_parser; in TEST() 83 using namespace pldm::responder; in TEST() 84 using namespace pldm::responder::fru_parser; in TEST() 85 using namespace pldm::responder::dbus; in TEST() 118 pldm::responder::FruImpl mockedFruHandler( in TEST() 158 using namespace pldm::responder::dbus; in TEST() 171 pldm::responder::FruImpl mockedFruHandler( in TEST()
|
H A D | libpldmresponder_bios_test.cpp | 15 using namespace pldm::responder; 16 using namespace pldm::responder::bios; 17 using namespace pldm::responder::utils;
|
/openbmc/pldm/libpldmresponder/ |
H A D | fru_parser.hpp | 14 namespace responder namespace 48 std::tuple<pldm::responder::dbus::Service, pldm::responder::dbus::RootPath, 49 pldm::responder::dbus::Interfaces>; 51 pldm::responder::dbus::Interface, pldm::responder::dbus::Property, 52 pldm::responder::dbus::PropertyType, pldm::responder::fru::FieldType>; 55 std::tuple<pldm::responder::fru::RecordType, 56 pldm::responder::fru::EncodingType, std::vector<FieldInfo>>; 100 const pldm::responder::dbus::Interface& intf) const in getRecordInfo() 105 pldm::responder::dbus::EntityType getEntityType( in getEntityType() 106 const pldm::responder::dbus::Interface& intf) const in getEntityType() [all …]
|
H A D | pdr.hpp | 11 namespace responder namespace 24 void getRepoByType(const pldm::responder::pdr_utils::Repo& inRepo, 25 pldm::responder::pdr_utils::Repo& outRepo, 26 pldm::responder::pdr_utils::Type pdrType); 38 const pldm::responder::pdr_utils::RepoInterface& pdrRepo, 39 pldm::responder::pdr_utils::RecordHandle recordHandle, 40 pldm::responder::pdr_utils::PdrEntry& pdrEntry); 43 } // namespace responder
|
H A D | platform_state_sensor.hpp | 21 namespace responder namespace 37 const std::map<pldm::responder::pdr_utils::State, in getStateSensorEventState() 68 * @tparam[in] Handler - pldm::responder::platform::Handler 71 * pldm::responder::platform::Handler 88 using namespace pldm::responder::pdr; in getStateSensorReadingsHandler() 100 pldm::responder::pdr_utils::Repo stateSensorPDRs(stateSensorPdrRepo.get()); in getStateSensorReadingsHandler() 108 pldm::responder::pdr_utils::PdrEntry pdrEntry{}; in getStateSensorReadingsHandler() 148 sensorId, pldm::responder::pdr_utils::TypeId::PLDM_SENSOR_ID); in getStateSensorReadingsHandler() 156 pldm::responder::pdr_utils::EventStates sensorCacheforSensor{}; in getStateSensorReadingsHandler() 210 } // namespace responder
|
H A D | platform_state_effecter.hpp | 20 namespace responder namespace 27 * @tparam[in] Handler - pldm::responder::platform::Handler 30 * pldm::responder::platform::Handler 42 using namespace pldm::responder::pdr; in setStateEffecterStatesHandler() 57 pldm::responder::pdr_utils::Repo stateEffecterPDRs( in setStateEffecterStatesHandler() 67 pldm::responder::pdr_utils::PdrEntry pdrEntry{}; in setStateEffecterStatesHandler() 132 const pldm::responder::pdr_utils::StatestoDbusVal& dbusValToMap = in setStateEffecterStatesHandler() 173 } // namespace responder
|
H A D | pdr_state_sensor.hpp | 13 namespace responder namespace 123 pldm::responder::pdr_utils::DbusMappings dbusMappings{}; in generateStateSensorPDR() 124 pldm::responder::pdr_utils::DbusValMaps dbusValMaps{}; in generateStateSensorPDR() 139 pldm::responder::pdr_utils::PossibleValues stateValues; in generateStateSensorPDR() 156 pldm::responder::pdr_utils::StatestoDbusVal dbusIdToValMap{}; in generateStateSensorPDR() 165 dbusIdToValMap = pldm::responder::pdr_utils::populateMapping( in generateStateSensorPDR() 187 pldm::responder::pdr_utils::TypeId::PLDM_SENSOR_ID); in generateStateSensorPDR() 188 pldm::responder::pdr_utils::PdrEntry pdrEntry{}; in generateStateSensorPDR() 197 } // namespace responder
|
H A D | pdr_state_effecter.hpp | 14 namespace responder namespace 112 pldm::responder::pdr_utils::DbusMappings dbusMappings{}; in generateStateEffecterPDR() 113 pldm::responder::pdr_utils::DbusValMaps dbusValMaps{}; in generateStateEffecterPDR() 127 pldm::responder::pdr_utils::PossibleValues stateValues; in generateStateEffecterPDR() 145 pldm::responder::pdr_utils::StatestoDbusVal dbusIdToValMap{}; in generateStateEffecterPDR() 154 dbusIdToValMap = pldm::responder::pdr_utils::populateMapping( in generateStateEffecterPDR() 173 pldm::responder::pdr_utils::PdrEntry pdrEntry{}; in generateStateEffecterPDR() 182 } // namespace responder
|
H A D | base.hpp | 12 using namespace pldm::responder; 16 namespace responder namespace 92 pldm::responder::oem_platform::Handler* handler) in setOemPlatformHandler() 104 pldm::responder::oem_platform::Handler* oemPlatformHandler = nullptr; 111 } // namespace responder
|
H A D | platform.hpp | 27 namespace responder namespace 57 pldm::responder::platform_config::Handler* platformConfigHandler, in Handler() 161 pldm::responder::pdr_utils::TypeId typeId = 162 pldm::responder::pdr_utils::TypeId::PLDM_EFFECTER_ID); 176 pldm::responder::pdr_utils::TypeId typeId = 177 pldm::responder::pdr_utils::TypeId::PLDM_EFFECTER_ID) const; 197 pldm::responder::pdr_utils::Repo& repo); 205 pldm::responder::pdr_utils::Repo& repo); 217 pldm::responder::oem_platform::Handler* handler) in setOemPlatformHandler() 346 using namespace pldm::responder::pdr; in setStateEffecterStatesHandler() [all …]
|
H A D | pdr.cpp | 8 namespace responder namespace 13 using namespace pldm::responder::pdr_utils; 52 } // namespace responder
|
/openbmc/pldm/pldmd/ |
H A D | oem_ibm.hpp | 60 sdeventplus::Event& event, responder::Invoker& invoker, in OemIBM() 62 responder::platform::Handler* platformHandler, in OemIBM() 63 responder::fru::Handler* fruHandler, in OemIBM() 64 responder::base::Handler* baseHandler, in OemIBM() 99 codeUpdate = std::make_unique<pldm::responder::CodeUpdate>(dBusIntf); in createCodeUpdate() 107 std::make_unique<pldm::responder::SlotHandler>(event, repo); in createSlotHandler() 126 dynamic_cast<pldm::responder::oem_ibm_platform::Handler*>( in createOemIbmPlatformHandler() 133 oemFruHandler = std::make_unique<responder::oem_ibm_fru::Handler>(repo); in createOemFruHandler() 140 std::make_unique<responder::oem_ibm_utils::Handler>(dBusIntf); in createOemIbmUtilsHandler() 146 oemIbmFruHandler = dynamic_cast<pldm::responder::oem_ibm_fru::Handler*>( in createOemIbmFruHandler() [all …]
|
/openbmc/pldm/oem/ibm/libpldmresponder/ |
H A D | file_io_type_lid.hpp | 15 namespace responder namespace 63 pldm::responder::oem_ibm_platform::Handler* oemIbmPlatformHandler = in constructLIDPath() 64 dynamic_cast<pldm::responder::oem_ibm_platform::Handler*>( in constructLIDPath() 105 pldm::responder::oem_ibm_platform::Handler* oemIbmPlatformHandler = in writeFromMemory() 106 dynamic_cast<pldm::responder::oem_ibm_platform::Handler*>( in writeFromMemory() 150 pldm::responder::oem_ibm_platform::Handler* in writeFromMemory() 152 pldm::responder::oem_ibm_platform::Handler*>( in writeFromMemory() 156 using namespace pldm::responder::oem_ibm_platform; in writeFromMemory() 188 pldm::responder::oem_ibm_platform::Handler* oemIbmPlatformHandler = in write() 189 dynamic_cast<pldm::responder::oem_ibm_platform::Handler*>( in write() [all …]
|
H A D | oem_ibm_handler.cpp | 23 namespace responder namespace 27 int pldm::responder::oem_ibm_platform::Handler:: 71 int pldm::responder::oem_ibm_platform::Handler:: 237 pldm::responder::pdr_utils::PdrEntry pdrEntry{}; in buildAllCodeUpdateEffecterPDR() 301 pldm::responder::pdr_utils::PdrEntry pdrEntry{}; in buildAllSlotEnableEffecterPDR() 352 pldm::responder::pdr_utils::PdrEntry pdrEntry{}; in buildAllCodeUpdateSensorPDR() 411 pldm::responder::pdr_utils::PdrEntry pdrEntry{}; in buildAllSlotEnableSensorPDR() 418 void pldm::responder::oem_ibm_platform::Handler::buildOEMPDR( in buildOEMPDR() 470 void pldm::responder::oem_ibm_platform::Handler::setPlatformHandler( in setPlatformHandler() 471 pldm::responder::platform::Handler* handler) in setPlatformHandler() [all …]
|
H A D | fru_oem_ibm.hpp | 12 namespace responder namespace 45 void setIBMFruHandler(pldm::responder::fru::Handler* handler); 66 pldm::responder::fru::Handler* fruHandler; //!< pointer to PLDM fru handler 104 } // namespace responder
|
H A D | fru_oem_ibm.cpp | 13 namespace responder namespace 18 void pldm::responder::oem_ibm_fru::Handler::setIBMFruHandler( in setIBMFruHandler() 19 pldm::responder::fru::Handler* handler) in setIBMFruHandler() 24 int pldm::responder::oem_ibm_fru::Handler::processOEMFRUTable( in processOEMFRUTable() 132 if (!(pldm::responder::utils::checkIfIBMFru(key))) in updateDBusProperty() 198 } // namespace responder
|
/openbmc/libpldm/tests/ |
H A D | responder.cpp | 2 #include "responder.c" 6 TEST(Responder, track_untrack_one) in TEST() argument 23 TEST(Responder, untrack_none) in TEST() argument 32 TEST(Responder, track_one_untrack_bad) in TEST() argument 54 TEST(Responder, track_untrack_two) in TEST() argument
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ |
H A D | ComponentIntegrity.v1_3_1.json | 213 … "description": "Integrity information about the SPDM Responder as reported by an SPDM Requester.", 214 …ion": "This property shall contain integrity information about the SPDM Responder identified by th… 229 …s property shall contain a URI to the resource that represents the SPDM Responder. If `ComponentI… 371 … SPDM cryptographic signed statement over the given nonce and measurements of the SPDM Responder.", 372 …Responder. This action shall not be present if the `ComponentIntegrityType` property does not con… 384 …random generator. The SPDM Requester shall send this value to the SPDM Responder in the SPDM 'GET… 390 …ssumed to be `0`. The SPDM Requester shall send this value to the SPDM Responder in the SPDM 'GET… 423 "description": "The SPDM signed measurement from an SPDM Responder.", 424 …longDescription": "This object shall contain the SPDM signed measurements from an SPDM Responder.", 448 …he hashing algorithm negotiated between the SPDM Requester and the SPDM Responder. The allowable … [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/ |
H A D | ComponentIntegrity.v1_3_1.json | 213 … "description": "Integrity information about the SPDM Responder as reported by an SPDM Requester.", 214 …ion": "This property shall contain integrity information about the SPDM Responder identified by th… 229 …s property shall contain a URI to the resource that represents the SPDM Responder. If `ComponentI… 371 … SPDM cryptographic signed statement over the given nonce and measurements of the SPDM Responder.", 372 …Responder. This action shall not be present if the `ComponentIntegrityType` property does not con… 384 …random generator. The SPDM Requester shall send this value to the SPDM Responder in the SPDM 'GET… 390 …ssumed to be `0`. The SPDM Requester shall send this value to the SPDM Responder in the SPDM 'GET… 423 "description": "The SPDM signed measurement from an SPDM Responder.", 424 …longDescription": "This object shall contain the SPDM signed measurements from an SPDM Responder.", 448 …he hashing algorithm negotiated between the SPDM Requester and the SPDM Responder. The allowable … [all …]
|
/openbmc/qemu/docs/specs/ |
H A D | spdm.rst | 9 QEMU supports connecting to a SPDM responder implementation. This allows an 10 external application to emulate the SPDM responder logic for an SPDM device. 21 You can use `SPDM Utils`_ to emulate a responder. This is the simplest method. 38 SPDM responder. 64 -subj "/CN=DMTF libspdm ECP384 responder cert" 77 The responder can then be launched with
|
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ |
H A D | ComponentIntegrity_v1.xml | 64 …SPDM cryptographic signed statement over the given nonce and measurements of the SPDM Responder."/> 65 …Responder. This action shall not be present if the `ComponentIntegrityType` property does not con… 69 …random generator. The SPDM Requester shall send this value to the SPDM Responder in the SPDM 'GET… 74 …ssumed to be `0`. The SPDM Requester shall send this value to the SPDM Responder in the SPDM 'GET… 149 …s property shall contain a URI to the resource that represents the SPDM Responder. If `ComponentI… 163 …n Term="OData.Description" String="Integrity information about the SPDM Responder as reported by a… 164 …tring="This property shall contain integrity information about the SPDM Responder identified by th… 239 …<Annotation Term="OData.Description" String="Integrity information about an SPDM Responder as repo… 240 …" String="This object shall contain integrity information about an SPDM Responder as reported by a… 244 …a link to the resource representing the SPDM Responder that is reporting the integrity of the SPDM… [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/ |
H A D | ComponentIntegrity_v1.xml | 64 …SPDM cryptographic signed statement over the given nonce and measurements of the SPDM Responder."/> 65 …Responder. This action shall not be present if the `ComponentIntegrityType` property does not con… 69 …random generator. The SPDM Requester shall send this value to the SPDM Responder in the SPDM 'GET… 74 …ssumed to be `0`. The SPDM Requester shall send this value to the SPDM Responder in the SPDM 'GET… 149 …s property shall contain a URI to the resource that represents the SPDM Responder. If `ComponentI… 163 …n Term="OData.Description" String="Integrity information about the SPDM Responder as reported by a… 164 …tring="This property shall contain integrity information about the SPDM Responder identified by th… 239 …<Annotation Term="OData.Description" String="Integrity information about an SPDM Responder as repo… 240 …" String="This object shall contain integrity information about an SPDM Responder as reported by a… 244 …a link to the resource representing the SPDM Responder that is reporting the integrity of the SPDM… [all …]
|
/openbmc/pldm/oem/ampere/ |
H A D | oem_ampere.hpp | 52 sdeventplus::Event& event, responder::Invoker& /* invoker */, in OemAMPERE() 54 responder::platform::Handler* platformHandler, in OemAMPERE() 55 responder::fru::Handler* /* fruHandler */, in OemAMPERE() 56 responder::base::Handler* /* baseHandler */, in OemAMPERE() 57 responder::bios::Handler* /* biosHandler */, in OemAMPERE() 157 responder::platform::Handler* platformHandler = nullptr;
|
/openbmc/pldm/host-bmc/ |
H A D | dbus_to_event_handler.hpp | 16 std::map<SensorId, std::tuple<pldm::responder::pdr_utils::DbusMappings, 17 pldm::responder::pdr_utils::DbusValMaps>>; 21 std::map<pldm::pdr::SensorID, pldm::responder::pdr_utils::EventStates>; 54 void listenSensorEvent(const pldm::responder::pdr_utils::Repo& repo,
|