/mcuboot-latest/boot/zephyr/ |
D | main.c | 147 static void do_boot(struct boot_rsp *rsp) in do_boot() argument 158 vt = (struct arm_vector_table *)(rsp->br_hdr->ih_load_addr + rsp->br_hdr->ih_hdr_size); in do_boot() 165 rc = flash_area_open(rsp->br_flash_dev_id, &fap); in do_boot() 168 rc = flash_area_read(fap, rsp->br_hdr->ih_hdr_size, dst, sizeof(dst)); in do_boot() 278 static void do_boot(struct boot_rsp *rsp) in do_boot() argument 284 BOOT_LOG_INF("br_image_off = 0x%x\n", rsp->br_image_off); in do_boot() 285 BOOT_LOG_INF("ih_hdr_size = 0x%x\n", rsp->br_hdr->ih_hdr_size); in do_boot() 288 int slot = (rsp->br_image_off == IMAGE0_PRIMARY_START_ADDRESS) ? in do_boot() 291 start_cpu0_image(IMAGE_INDEX_0, slot, rsp->br_hdr->ih_hdr_size); in do_boot() 294 copy_img_to_SRAM(0, rsp->br_hdr->ih_hdr_size); in do_boot() [all …]
|
D | firmware_loader.c | 106 static fih_ret validate_image_slot(int slot, struct boot_rsp *rsp) in validate_image_slot() argument 133 rsp->br_flash_dev_id = flash_area_get_device_id(_fa_p); in validate_image_slot() 134 rsp->br_image_off = flash_area_get_off(_fa_p); in validate_image_slot() 135 rsp->br_hdr = &_hdr; in validate_image_slot() 154 boot_go(struct boot_rsp *rsp) in boot_go() argument 180 FIH_CALL(validate_image_slot, fih_rc, FLASH_AREA_IMAGE_SECONDARY(0), rsp); in boot_go() 187 FIH_CALL(validate_image_slot, fih_rc, FLASH_AREA_IMAGE_PRIMARY(0), rsp); in boot_go() 191 FIH_CALL(validate_image_slot, fih_rc, FLASH_AREA_IMAGE_SECONDARY(0), rsp); in boot_go()
|
D | single_loader.c | 102 boot_go(struct boot_rsp *rsp) in boot_go() argument 128 rsp->br_flash_dev_id = flash_area_get_device_id(_fa_p); in boot_go() 129 rsp->br_image_off = flash_area_get_off(_fa_p); in boot_go() 130 rsp->br_hdr = &_hdr; in boot_go()
|
/mcuboot-latest/boot/nuttx/ |
D | main.c | 64 static void do_boot(struct boot_rsp *rsp) in do_boot() argument 71 area_id = flash_area_id_from_image_offset(rsp->br_image_off); in do_boot() 79 info.header_size = rsp->br_hdr->ih_hdr_size; in do_boot() 100 struct boot_rsp rsp; in main() local 126 FIH_CALL(boot_go, fih_rc, &rsp); in main() 134 do_boot(&rsp); in main()
|
/mcuboot-latest/boot/cypress/MCUBootApp/ |
D | main.c | 63 static void do_boot(struct boot_rsp *rsp) in do_boot() argument 67 app_addr = (rsp->br_image_off + rsp->br_hdr->ih_hdr_size); in do_boot() 82 struct boot_rsp rsp; in main() local 140 FIH_CALL(boot_go, fih_rc, &rsp); in main() 150 do_boot(&rsp); in main()
|
/mcuboot-latest/boot/mbed/ |
D | mcuboot_main.cpp | 74 struct boot_rsp rsp; in main() local 75 rc = boot_go(&rsp); in main() 81 uint32_t address = rsp.br_image_off + rsp.br_hdr->ih_hdr_size; in main()
|
/mcuboot-latest/boot/espressif/ |
D | main.c | 52 void do_boot(struct boot_rsp *rsp) in do_boot() argument 54 BOOT_LOG_INF("br_image_off = 0x%x", rsp->br_image_off); in do_boot() 55 BOOT_LOG_INF("ih_hdr_size = 0x%x", rsp->br_hdr->ih_hdr_size); in do_boot() 56 …int slot = (rsp->br_image_off == CONFIG_ESP_IMAGE0_PRIMARY_START_ADDRESS) ? PRIMARY_SLOT : SECONDA… in do_boot() 57 start_cpu0_image(IMAGE_INDEX_0, slot, rsp->br_hdr->ih_hdr_size); in do_boot() 161 struct boot_rsp rsp; in main() local 180 FIH_CALL(boot_go, fih_rc, &rsp); in main() 295 do_boot(&rsp); in main()
|
/mcuboot-latest/boot/mynewt/src/ |
D | main.c | 51 void boot_custom_start(uintptr_t flash_base, struct boot_rsp *rsp); 219 struct boot_rsp rsp; in mynewt_main() local 249 FIH_CALL(boot_go, fih_rc, &rsp); in mynewt_main() 255 rc = flash_device_base(rsp.br_flash_dev_id, &flash_base); in mynewt_main() 259 boot_custom_start(flash_base, &rsp); in mynewt_main() 262 hal_system_start((void *)(flash_base + rsp.br_image_off + in mynewt_main() 263 rsp.br_hdr->ih_hdr_size)); in mynewt_main()
|
D | single_loader.c | 102 boot_go(struct boot_rsp *rsp) in boot_go() argument 128 rsp->br_flash_dev_id = flash_area_get_device_id(_fa_p); in boot_go() 129 rsp->br_image_off = flash_area_get_off(_fa_p); in boot_go() 130 rsp->br_hdr = &_hdr; in boot_go()
|
/mcuboot-latest/boot/bootutil/include/bootutil/ |
D | bootutil.h | 86 fih_ret boot_go(struct boot_rsp *rsp); 87 fih_ret boot_go_for_image_id(struct boot_rsp *rsp, uint32_t image_id); 91 fih_ret context_boot_go(struct boot_loader_state *state, struct boot_rsp *rsp);
|
/mcuboot-latest/sim/mcuboot-sys/src/ |
D | c.rs | 87 let mut rsp = api::BootRsp { in boot_go() localVariable 97 &mut rsp as *mut _, -1) as i32, in boot_go() 100 &mut rsp as *mut _, in boot_go() 114 BootGoResult::Normal { result, asserts, resp: rsp } in boot_go() 178 rsp: *mut BootRsp, image_index: libc::c_int) -> libc::c_int; in invoke_boot_go()
|
/mcuboot-latest/boot/bootutil/src/ |
D | loader.c | 199 fill_rsp(struct boot_loader_state *state, struct boot_rsp *rsp) in fill_rsp() argument 223 rsp->br_flash_dev_id = flash_area_get_device_id(BOOT_IMG_AREA(state, active_slot)); in fill_rsp() 224 rsp->br_image_off = boot_img_slot_off(state, active_slot); in fill_rsp() 225 rsp->br_hdr = boot_img_hdr(state, active_slot); in fill_rsp() 2197 context_boot_go(struct boot_loader_state *state, struct boot_rsp *rsp) argument 2481 fill_rsp(state, rsp); 3309 context_boot_go(struct boot_loader_state *state, struct boot_rsp *rsp) argument 3366 fill_rsp(state, rsp); 3388 boot_go(struct boot_rsp *rsp) argument 3394 FIH_CALL(context_boot_go, fih_rc, &boot_data, rsp); [all …]
|
/mcuboot-latest/sim/mcuboot-sys/csupport/ |
D | run.c | 248 struct boot_rsp *rsp, int image_id) in invoke_boot_go() argument 277 res = context_boot_go(state, rsp); in invoke_boot_go()
|
/mcuboot-latest/docs/ |
D | PORTING.md | 29 int boot_go(struct boot_rsp *rsp);
|