Home
last modified time | relevance | path

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

/hardware/interfaces/boot/1.1/default/boot_control/
Dlibboot_control.cpp134 int last_existing_slot = -1; in InitDefaultBootloaderControl() local
141 last_existing_slot = slot; in InitDefaultBootloaderControl()
151 if ((last_existing_slot != -1 && last_existing_slot + 1 == first_missing_slot) || in InitDefaultBootloaderControl()
152 (first_missing_slot == -1 && last_existing_slot + 1 == kMaxNumSlots)) { in InitDefaultBootloaderControl()
153 boot_ctrl->nb_slot = last_existing_slot + 1; in InitDefaultBootloaderControl()
154 LOG(INFO) << "Found a system with " << last_existing_slot + 1 << " slots."; in InitDefaultBootloaderControl()