Searched refs:active_slot (Results 1 – 5 of 5) sorted by relevance
/mcuboot-latest/boot/bootutil/src/ |
D | ram_load.c | 290 if (state->slot_usage[i].active_slot == NO_ACTIVE_SLOT in boot_check_ram_load_overlapping() 320 uint32_t active_slot; in boot_load_image_to_sram() local 326 active_slot = state->slot_usage[BOOT_CURR_IMG(state)].active_slot; in boot_load_image_to_sram() 327 hdr = boot_img_hdr(state, active_slot); in boot_load_image_to_sram() 333 rc = boot_read_image_size(state, active_slot, &img_sz); in boot_load_image_to_sram() 358 rc = boot_decrypt_and_copy_image_to_sram(state, active_slot, hdr, img_sz, img_dst); in boot_load_image_to_sram() 360 rc = boot_copy_image_to_sram(state, active_slot, img_dst, img_sz); in boot_load_image_to_sram() 366 rc = boot_copy_image_to_sram(state, active_slot, img_dst, img_sz); in boot_load_image_to_sram() 445 int active_slot; in boot_load_image_from_flash_to_sram() local 450 active_slot = state->slot_usage[BOOT_CURR_IMG(state)].active_slot; in boot_load_image_from_flash_to_sram() [all …]
|
D | loader.c | 168 uint8_t active_slot) in boot_add_shared_data() argument 175 boot_img_hdr(state, active_slot), in boot_add_shared_data() 176 BOOT_IMG_AREA(state, active_slot)); in boot_add_shared_data() 184 rc = boot_save_shared_data(boot_img_hdr(state, active_slot), in boot_add_shared_data() 185 BOOT_IMG_AREA(state, active_slot), in boot_add_shared_data() 186 active_slot, image_max_sizes); in boot_add_shared_data() 197 (void) (active_slot); in boot_add_shared_data() 212 uint32_t active_slot; in fill_rsp() local 229 active_slot = state->slot_usage[BOOT_CURR_IMG(state)].active_slot; in fill_rsp() 231 active_slot = BOOT_PRIMARY_SLOT; in fill_rsp() [all …]
|
D | swap_scratch.c | 860 uint32_t active_slot; in app_max_size() local 863 active_slot = state->slot_usage[BOOT_CURR_IMG(state)].active_slot; in app_max_size() 865 fa_id = flash_area_id_from_multi_image_slot(BOOT_CURR_IMG(state), active_slot); in app_max_size() 871 if (active_slot == BOOT_PRIMARY_SLOT) { in app_max_size() 872 active_slot = BOOT_SECONDARY_SLOT; in app_max_size() 874 active_slot = BOOT_PRIMARY_SLOT; in app_max_size() 877 fa_id = flash_area_id_from_multi_image_slot(BOOT_CURR_IMG(state), active_slot); in app_max_size()
|
D | bootutil_priv.h | 272 uint32_t active_slot; member
|
/mcuboot-latest/boot/bootutil/include/bootutil/ |
D | boot_record.h | 82 const uint8_t active_slot,
|