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,
914 std::vector<uint8_t> bootSeq; in panel_boot_order() local
927 ipmi::boot::getBootOrder(bootObjPath, bootSeq, hostName); in panel_boot_order()
929 uint8_t& bootMode = bootSeq.front(); in panel_boot_order()
936 std::rotate(bootSeq.begin() + 1, bootSeq.begin() + selectedItemIndex, in panel_boot_order()
937 bootSeq.begin() + selectedItemIndex + 1); in panel_boot_order()
942 ipmi::boot::setBootOrder(bootObjPath, bootSeq, hostName); in panel_boot_order()
966 auto find = bootOrderMappingTable.find(bootSeq[i]); in panel_boot_order()
970 bootSeq[i]); in panel_boot_order()
H A Doemcommands.cpp221 void setBootOrder(std::string bootObjPath, const std::vector<uint8_t>& bootSeq, in setBootOrder() argument
224 if (bootSeq.size() != SIZE_BOOT_ORDER) in setBootOrder()
233 uint8_t mode = bootSeq.front(); in setBootOrder()
248 auto bootOrder = ipmi::boot::sourceIpmiToDbus.at(bootSeq.at(1)); in setBootOrder()
287 if (bootSeq.at(i) >= BOOT_SEQ_ARRAY_SIZE) in setBootOrder()
291 bootSeqDefine[bootSeq.at(i)]; in setBootOrder()
297 void getBootOrder(std::string bootObjPath, std::vector<uint8_t>& bootSeq, in getBootOrder() argument
303 bootSeq.push_back(BOOT_MODE_UEFI); in getBootOrder()
304 bootSeq.push_back(static_cast<uint8_t>(bootMap["USB_DEV"])); in getBootOrder()
305 bootSeq.push_back(static_cast<uint8_t>(bootMap["NET_IPV6"])); in getBootOrder()
[all …]