Home
last modified time | relevance | path

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

/openbmc/fb-ipmi-oem/src/
H A Dusb-dbg.cpp50 void setBootOrder(std::string bootObjPath, const std::vector<uint8_t>& bootSeq,
52 void getBootOrder(std::string bootObjPath, std::vector<uint8_t>& bootSeq,
900 std::vector<uint8_t> bootSeq; in panel_boot_order() local
913 ipmi::boot::getBootOrder(bootObjPath, bootSeq, hostName); in panel_boot_order()
915 uint8_t& bootMode = bootSeq.front(); in panel_boot_order()
922 std::rotate(bootSeq.begin() + 1, bootSeq.begin() + selectedItemIndex, in panel_boot_order()
923 bootSeq.begin() + selectedItemIndex + 1); in panel_boot_order()
928 ipmi::boot::setBootOrder(bootObjPath, bootSeq, hostName); in panel_boot_order()
952 auto find = bootOrderMappingTable.find(bootSeq[i]); in panel_boot_order()
956 bootSeq[i]); in panel_boot_order()
H A Doemcommands.cpp219 void setBootOrder(std::string bootObjPath, const std::vector<uint8_t>& bootSeq, in setBootOrder() argument
222 if (bootSeq.size() != SIZE_BOOT_ORDER) in setBootOrder()
231 uint8_t mode = bootSeq.front(); in setBootOrder()
246 auto bootOrder = ipmi::boot::sourceIpmiToDbus.at(bootSeq.at(1)); in setBootOrder()
285 if (bootSeq.at(i) >= BOOT_SEQ_ARRAY_SIZE) in setBootOrder()
289 bootSeqDefine[bootSeq.at(i)]; in setBootOrder()
295 void getBootOrder(std::string bootObjPath, std::vector<uint8_t>& bootSeq, in getBootOrder() argument
301 bootSeq.push_back(BOOT_MODE_UEFI); in getBootOrder()
302 bootSeq.push_back(static_cast<uint8_t>(bootMap["USB_DEV"])); in getBootOrder()
303 bootSeq.push_back(static_cast<uint8_t>(bootMap["NET_IPV6"])); in getBootOrder()
[all …]