Searched refs:BOOT_IMG (Results 1 – 4 of 4) sorted by relevance
/mcuboot-latest/boot/bootutil/src/ |
D | bootutil_priv.h | 407 #define BOOT_IMG(state, slot) ((state)->imgs[BOOT_CURR_IMG(state)][(slot)]) macro 408 #define BOOT_IMG_AREA(state, slot) (BOOT_IMG(state, slot).area) 421 return &BOOT_IMG(state, slot).hdr; in boot_img_hdr() 427 return BOOT_IMG(state, slot).num_sectors; in boot_img_num_sectors() 445 return flash_area_get_size(&BOOT_IMG(state, slot).sectors[sector]); in boot_img_sector_size() 456 return flash_area_get_off(&BOOT_IMG(state, slot).sectors[sector]) - in boot_img_sector_off() 457 flash_area_get_off(&BOOT_IMG(state, slot).sectors[0]); in boot_img_sector_off() 466 return flash_sector_get_size(&BOOT_IMG(state, slot).sectors[sector]); in boot_img_sector_size() 473 return flash_sector_get_off(&BOOT_IMG(state, slot).sectors[sector]) - in boot_img_sector_off() 474 flash_sector_get_off(&BOOT_IMG(state, slot).sectors[0]); in boot_img_sector_off()
|
D | loader.c | 333 out_sectors = BOOT_IMG(state, BOOT_PRIMARY_SLOT).sectors; in boot_initialize_area() 334 out_num_sectors = &BOOT_IMG(state, BOOT_PRIMARY_SLOT).num_sectors; in boot_initialize_area() 336 out_sectors = BOOT_IMG(state, BOOT_SECONDARY_SLOT).sectors; in boot_initialize_area() 337 out_num_sectors = &BOOT_IMG(state, BOOT_SECONDARY_SLOT).num_sectors; in boot_initialize_area() 2306 BOOT_IMG(state, BOOT_PRIMARY_SLOT).sectors = 2308 BOOT_IMG(state, BOOT_SECONDARY_SLOT).sectors = 2314 BOOT_IMG(state, BOOT_PRIMARY_SLOT).sectors = 2316 BOOT_IMG(state, BOOT_SECONDARY_SLOT).sectors = 2419 BOOT_CURR_IMG(state), &(BOOT_IMG(state, 1).hdr), 2509 if (BOOT_IMG(state, BOOT_PRIMARY_SLOT).hdr.ih_magic != IMAGE_MAGIC) { [all …]
|
D | ram_load.c | 451 BOOT_IMG(state, active_slot).hdr = *hdr; in boot_load_image_from_flash_to_sram()
|
/mcuboot-latest/boot/cypress/BlinkyApp/ |
D | main.c | 73 #ifdef BOOT_IMG
|