Home
last modified time | relevance | path

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

/mcuboot-latest/boot/bootutil/src/
Dloader.c2771 struct boot_swap_state* active_swap_state; local
2779 active_swap_state = &(state->slot_usage[BOOT_CURR_IMG(state)].swap_state);
2781 memset(active_swap_state, 0, sizeof(struct boot_swap_state));
2782 rc = boot_read_swap_state(fap, active_swap_state);
2785 if (active_swap_state->magic != BOOT_MAGIC_GOOD ||
2786 (active_swap_state->copy_done == BOOT_FLAG_SET &&
2787 active_swap_state->image_ok != BOOT_FLAG_SET)) {
2801 if (active_swap_state->copy_done != BOOT_FLAG_SET) {
2802 if (active_swap_state->copy_done == BOOT_FLAG_BAD) {