Home
last modified time | relevance | path

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

/mcuboot-latest/boot/bootutil/src/
Dbootutil_public.c247 state->image_num = BOOT_GET_IMAGE_NUM(swap_info); in boot_read_swap_state()
252 state->image_num = 0; in boot_read_swap_state()
381 uint8_t image_num) in boot_write_swap_info() argument
386 BOOT_SET_SWAP_INFO(swap_info, image_num, swap_type); in boot_write_swap_info()
392 swap_type, image_num); in boot_write_swap_info()
425 secondary_slot.image_num = 0; in boot_swap_type_multi()
Dbootutil_priv.h288 uint8_t image_num);
Dswap_scratch.c392 state_scratch.image_num != BOOT_CURR_IMG(state)) { in swap_status_source()
/mcuboot-latest/boot/zephyr/
Dhooks_sample.c70 state->image_num = image_index ; // ? in boot_read_swap_state_primary_slot_hook()
/mcuboot-latest/sim/src/
Dimage.rs228 let images = self.slots.into_iter().enumerate().map(|(image_num, slots)| { in make_no_upgrade_image()
230 Box::new(PairDep::new(num_images, image_num, deps)) in make_no_upgrade_image()
232 Box::new(BoringDep::new(image_num, deps)) in make_no_upgrade_image()
239 let upgr = match deps.depends[image_num] { in make_no_upgrade_image()
248 let upgr = match deps.depends[image_num] { in make_no_upgrade_image()
299 let images = self.slots.into_iter().enumerate().map(|(image_num, slots)| { in make_bad_secondary_slot_image()
300 let dep = BoringDep::new(image_num, &NO_DEPS); in make_bad_secondary_slot_image()
322 let images = self.slots.into_iter().enumerate().map(|(image_num, slots)| { in make_oversized_secondary_slot_image()
323 let dep = BoringDep::new(image_num, &NO_DEPS); in make_oversized_secondary_slot_image()
345 let images = self.slots.into_iter().enumerate().map(|(image_num, slots)| { in make_erased_secondary_image()
[all …]
/mcuboot-latest/boot/bootutil/include/bootutil/
Dbootutil_public.h153 uint8_t image_num; /* Boot status belongs to this image */ member