Home
last modified time | relevance | path

Searched full:responder (Results 1 – 25 of 148) sorted by relevance

123456

/openbmc/pldm/libpldmresponder/test/
H A Dmocked_bios.hpp9 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 Dlibpldmresponder_fru_test.cpp14 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 Dlibpldmresponder_bios_test.cpp15 using namespace pldm::responder;
16 using namespace pldm::responder::bios;
17 using namespace pldm::responder::utils;
/openbmc/pldm/libpldmresponder/
H A Dfru_parser.hpp14 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 Dpdr.hpp11 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 Dplatform_state_sensor.hpp21 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 Dplatform_state_effecter.hpp20 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 Dpdr_state_sensor.hpp13 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 Dpdr_state_effecter.hpp14 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 Dbase.hpp12 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 Dplatform.hpp27 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 Dpdr.cpp8 namespace responder namespace
13 using namespace pldm::responder::pdr_utils;
52 } // namespace responder
/openbmc/pldm/pldmd/
H A Doem_ibm.hpp60 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 Dfile_io_type_lid.hpp15 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 Doem_ibm_handler.cpp23 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 Dfru_oem_ibm.hpp12 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 Dfru_oem_ibm.cpp13 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 Dresponder.cpp2 #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 DComponentIntegrity.v1_3_1.json213 … "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.",
372Responder. 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 DComponentIntegrity.v1_3_1.json213 … "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.",
372Responder. 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 Dspdm.rst9 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 DComponentIntegrity_v1.xml64 …SPDM cryptographic signed statement over the given nonce and measurements of the SPDM Responder."/>
65Responder. 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 DComponentIntegrity_v1.xml64 …SPDM cryptographic signed statement over the given nonce and measurements of the SPDM Responder."/>
65Responder. 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 Doem_ampere.hpp52 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 Ddbus_to_event_handler.hpp16 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,

123456