Home
last modified time | relevance | path

Searched refs:clearNVRAM (Results 1 – 2 of 2) sorted by relevance

/openbmc/openpower-vpd-parser/vpd-manager/
H A Dbios_handler.cpp332 void BiosHandler::saveClearNVRAMToVPD(const std::string& clearNVRAM) in saveClearNVRAMToVPD() argument
344 if (clearNVRAM != "Enabled" && clearNVRAM != "Disabled") in saveClearNVRAMToVPD()
352 if (clearNVRAM == "Enabled" && ((valInVPD.at(0) & 0x04) != 0x04)) in saveClearNVRAMToVPD()
356 else if (clearNVRAM == "Disabled" && ((valInVPD.at(0) & 0x04) != 0)) in saveClearNVRAMToVPD()
436 std::string clearNVRAM{}; in readBIOSClearNVRAM() local
441 clearNVRAM = *pVal; in readBIOSClearNVRAM()
447 return clearNVRAM; in readBIOSClearNVRAM()
597 void BiosHandler::saveClearNVRAMToBIOS(const std::string& clearNVRAM, in saveClearNVRAMToBIOS() argument
600 if (clearNVRAM.size() != 1) in saveClearNVRAMToBIOS()
602 std::cerr << "Bad size for Clear NVRAM in VPD: " << clearNVRAM.size() in saveClearNVRAMToBIOS()
[all …]
H A Dbios_handler.hpp132 void saveClearNVRAMToVPD(const std::string& clearNVRAM);
191 void saveClearNVRAMToBIOS(const std::string& clearNVRAM,