Home
last modified time | relevance | path

Searched refs:resourceId (Results 1 – 5 of 5) sorted by relevance

/openbmc/bios-bmc-smm-error-logger/test/
H A Drde_dictionary_manager_test.cpp37 uint32_t resourceId = 1; member in bios_bmc_smm_error_logger::rde::RdeDictionaryManagerTest
44 dm.startDictionaryEntry(resourceId, std::span(dummyDictionary1)); in TEST_F()
48 dm.markDataComplete(resourceId); in TEST_F()
52 auto dataOrErr = dm.getDictionary(resourceId); in TEST_F()
63 dm.startDictionaryEntry(resourceId, std::span(dummyDictionary1)); in TEST_F()
67 EXPECT_FALSE(dm.getDictionary(resourceId)); in TEST_F()
73 dm.startDictionaryEntry(resourceId, std::span(dummyDictionary1)); in TEST_F()
75 dm.markDataComplete(resourceId); in TEST_F()
83 auto data1OrErr = dm.getDictionary(resourceId); in TEST_F()
100 dm.startDictionaryEntry(resourceId, std::span(dummyDictionary2)); in TEST_F()
[all …]
/openbmc/bios-bmc-smm-error-logger/src/rde/
H A Drde_dictionary_manager.cpp15 uint32_t resourceId, const std::span<const uint8_t> data) in startDictionaryEntry() argument
18 auto itemIt = dictionaries.find(resourceId); in startDictionaryEntry()
21 dictionaries[resourceId] = in startDictionaryEntry()
36 bool DictionaryManager::markDataComplete(uint32_t resourceId) in markDataComplete() argument
38 auto itemIt = dictionaries.find(resourceId); in markDataComplete()
41 stdplus::print(stderr, "Resource ID {} not found.\n", resourceId); in markDataComplete()
48 bool DictionaryManager::addDictionaryData(uint32_t resourceId, in addDictionaryData() argument
51 auto itemIt = dictionaries.find(resourceId); in addDictionaryData()
54 stdplus::print(stderr, "Resource ID {} not found.\n", resourceId); in addDictionaryData()
65 DictionaryManager::getDictionary(uint32_t resourceId) in getDictionary() argument
[all …]
H A Drde_handler.cpp132 uint32_t resourceId = header->nextDataTransferHandle; in multiPartReceiveResp() local
142 handleFlagStart(header, data, resourceId); in multiPartReceiveResp()
146 ret = handleFlagMiddle(header, data, resourceId); in multiPartReceiveResp()
149 ret = handleFlagEnd(rdeCommand, header, data, resourceId); in multiPartReceiveResp()
153 ret = handleFlagStartAndEnd(rdeCommand, header, data, resourceId); in multiPartReceiveResp()
163 prevDictResourceId = resourceId; in multiPartReceiveResp()
217 uint32_t resourceId) in handleFlagStart() argument
222 dictionaryManager.startDictionaryEntry(resourceId, dataS); in handleFlagStart()
230 uint32_t resourceId) in handleFlagMiddle() argument
241 if (prevDictResourceId != resourceId) in handleFlagMiddle()
[all …]
/openbmc/bios-bmc-smm-error-logger/include/rde/
H A Drde_dictionary_manager.hpp49 void startDictionaryEntry(uint32_t resourceId,
59 bool markDataComplete(uint32_t resourceId);
69 bool addDictionaryData(uint32_t resourceId,
79 std::optional<std::span<const uint8_t>> getDictionary(uint32_t resourceId);
H A Drde_handler.hpp232 const uint8_t* data, uint32_t resourceId);
243 const uint8_t* data, uint32_t resourceId);
255 const uint8_t* data, uint32_t resourceId);
269 const uint8_t* data, uint32_t resourceId);