Home
last modified time | relevance | path

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

/openbmc/smbios-mdr/src/smbios-ipmi-blobs/
H A Dhandler.cpp198 MDRSMBIOSHeader mdrHdr; in commit() local
199 mdrHdr.dirVer = mdrDirVersion; in commit()
200 mdrHdr.mdrType = mdrTypeII; in commit()
201 mdrHdr.timestamp = std::time(nullptr); in commit()
202 mdrHdr.dataSize = blobPtr->buffer.size(); in commit()
228 smbiosFile.write(reinterpret_cast<char*>(&mdrHdr), in commit()
231 mdrHdr.dataSize); in commit()
/openbmc/smbios-mdr/src/
H A Dmdrv2.cpp205 bool MDRV2::readDataFromFlash(MDRSMBIOSHeader* mdrHdr, uint8_t* data) in readDataFromFlash() argument
207 if (mdrHdr == nullptr) in readDataFromFlash()
236 smbiosFile.read(reinterpret_cast<char*>(mdrHdr), sizeof(MDRSMBIOSHeader)); in readDataFromFlash()
237 if (mdrHdr->dataSize > smbiosTableStorageSize) in readDataFromFlash()
245 if (fileLength < mdrHdr->dataSize) in readDataFromFlash()
251 smbiosFile.read(reinterpret_cast<char*>(data), mdrHdr->dataSize); in readDataFromFlash()
/openbmc/intel-ipmi-oem/include/
H A Dsmbiosmdrv2handler.hpp271 bool storeDatatoFlash(MDRSMBIOSHeader* mdrHdr, uint8_t* data);
/openbmc/smbios-mdr/include/
H A Dmdrv2.hpp176 bool readDataFromFlash(MDRSMBIOSHeader* mdrHdr, uint8_t* data);
/openbmc/intel-ipmi-oem/src/
H A Dsmbiosmdrv2handler.cpp819 bool MDRV2::storeDatatoFlash(MDRSMBIOSHeader* mdrHdr, uint8_t* data) in storeDatatoFlash() argument
832 smbiosFile.write(reinterpret_cast<char*>(mdrHdr), in storeDatatoFlash()
834 smbiosFile.write(reinterpret_cast<char*>(data), mdrHdr->dataSize); in storeDatatoFlash()