Searched refs:boot_ctrl (Results 1 – 1 of 1) sorted by relevance
89 uint32_t BootloaderControlLECRC(const bootloader_control* boot_ctrl) { in BootloaderControlLECRC() argument91 CRC32(reinterpret_cast<const uint8_t*>(boot_ctrl), offsetof(bootloader_control, crc32_le))); in BootloaderControlLECRC()130 bootloader_control* boot_ctrl) { in InitDefaultBootloaderControl() argument131 memset(boot_ctrl, 0, sizeof(*boot_ctrl)); in InitDefaultBootloaderControl()134 strlcpy(boot_ctrl->slot_suffix, kSlotSuffixes[module->current_slot], in InitDefaultBootloaderControl()135 sizeof(boot_ctrl->slot_suffix)); in InitDefaultBootloaderControl()137 boot_ctrl->magic = BOOT_CTRL_MAGIC; in InitDefaultBootloaderControl()138 boot_ctrl->version = BOOT_CTRL_VERSION; in InitDefaultBootloaderControl()142 boot_ctrl->nb_slot = kMaxNumSlots; in InitDefaultBootloaderControl()168 boot_ctrl->nb_slot = last_existing_slot + 1; in InitDefaultBootloaderControl()[all …]