Home
last modified time | relevance | path

Searched defs:slot (Results 1 – 25 of 28) sorted by relevance

12

/mcuboot-latest/boot/espressif/
Dmain.c56 …int slot = (rsp->br_image_off == CONFIG_ESP_IMAGE0_PRIMARY_START_ADDRESS) ? PRIMARY_SLOT : SECONDA… in do_boot() local
61 int read_image_header(uint32_t img_index, uint32_t slot, struct image_header *img_header) in read_image_header()
87 void do_boot_appcpu(uint32_t img_index, uint32_t slot) in do_boot_appcpu()
/mcuboot-latest/boot/zephyr/
Dhooks_sample.c29 int boot_read_image_header_hook(int img_index, int slot, in boot_read_image_header_hook()
45 fih_ret boot_image_check_hook(int img_index, int slot) in boot_image_check_hook()
92 int boot_img_install_stat_hook(int image_index, int slot, int *img_install_stat) in boot_img_install_stat_hook()
Dflash_map_extended.c61 int flash_area_id_from_multi_image_slot(int image_index, int slot) in flash_area_id_from_multi_image_slot()
81 int flash_area_id_from_image_slot(int slot) in flash_area_id_from_image_slot()
Dfirmware_loader.c106 static fih_ret validate_image_slot(int slot, struct boot_rsp *rsp) in validate_image_slot()
Dmain.c276 static void copy_img_to_SRAM(int slot, unsigned int hdr_offset) in copy_img_to_SRAM()
316 int slot = (rsp->br_image_off == IMAGE0_PRIMARY_START_ADDRESS) ? in do_boot() local
/mcuboot-latest/boot/espressif/port/
Desp_loader.c56 void esp_app_image_load(int image_index, int slot, unsigned int hdr_offset, unsigned int *entry_add… in esp_app_image_load()
155 void start_cpu0_image(int image_index, int slot, unsigned int hdr_offset) in start_cpu0_image()
164 void start_cpu1_image(int image_index, int slot, unsigned int hdr_offset) in start_cpu1_image()
Desp_mcuboot.c400 int flash_area_id_from_multi_image_slot(int image_index, int slot) in flash_area_id_from_multi_image_slot()
414 int flash_area_id_from_image_slot(int slot) in flash_area_id_from_image_slot()
/mcuboot-latest/boot/bootutil/src/
Dencrypted.c355 boot_enc_init(struct enc_key_data *enc_state, uint8_t slot) in boot_enc_init()
362 boot_enc_drop(struct enc_key_data *enc_state, uint8_t slot) in boot_enc_drop()
370 boot_enc_set_key(struct enc_key_data *enc_state, uint8_t slot, in boot_enc_set_key()
635 boot_enc_load(struct boot_loader_state *state, int slot, in boot_enc_load()
698 boot_enc_valid(struct enc_key_data *enc_state, int slot) in boot_enc_valid()
704 boot_enc_encrypt(struct enc_key_data *enc_state, int slot, uint32_t off, in boot_enc_encrypt()
727 boot_enc_decrypt(struct enc_key_data *enc_state, int slot, uint32_t off, in boot_enc_decrypt()
755 uint8_t slot; in boot_enc_zeroize() local
Dbootutil_priv.h193 #define BOOT_LOG_IMAGE_INFO(slot, hdr) \ argument
407 #define BOOT_IMG(state, slot) ((state)->imgs[BOOT_CURR_IMG(state)][(slot)]) argument
408 #define BOOT_IMG_AREA(state, slot) (BOOT_IMG(state, slot).area) argument
419 boot_img_hdr(struct boot_loader_state *state, size_t slot) in boot_img_hdr()
425 boot_img_num_sectors(const struct boot_loader_state *state, size_t slot) in boot_img_num_sectors()
434 boot_img_slot_off(struct boot_loader_state *state, size_t slot) in boot_img_slot_off()
443 size_t slot, size_t sector) in boot_img_sector_size()
453 boot_img_sector_off(const struct boot_loader_state *state, size_t slot, in boot_img_sector_off()
464 size_t slot, size_t sector) in boot_img_sector_size()
470 boot_img_sector_off(const struct boot_loader_state *state, size_t slot, in boot_img_sector_off()
Dbootutil_misc.c191 boot_enc_key_off(const struct flash_area *fap, uint8_t slot) in boot_enc_key_off()
267 boot_read_enc_key(const struct flash_area *fap, uint8_t slot, struct boot_status *bs) in boot_read_enc_key()
311 boot_write_enc_key(const struct flash_area *fap, uint8_t slot, in boot_write_enc_key()
368 boot_read_image_size(struct boot_loader_state *state, int slot, uint32_t *size) in boot_read_image_size()
Dram_load.c118 uint32_t slot, struct image_header *hdr, in boot_decrypt_and_copy_image_to_sram()
209 boot_copy_image_to_sram(struct boot_loader_state *state, int slot, in boot_copy_image_to_sram()
422 boot_remove_image_from_flash(struct boot_loader_state *state, uint32_t slot) in boot_remove_image_from_flash()
Dloader.c247 uint32_t slot; in close_all_flash_areas() local
462 uint8_t slot; in boot_verify_dependencies() local
544 boot_verify_slot_dependencies(struct boot_loader_state *state, uint32_t slot) in boot_verify_slot_dependencies()
949 boot_check_header_erased(struct boot_loader_state *state, int slot)
1020 boot_validate_slot(struct boot_loader_state *state, int slot,
1205 boot_update_security_counter(struct boot_loader_state *state, int slot, int hdr_slot_idx)
1651 uint8_t slot; local
2257 size_t slot; local
2640 uint32_t slot; local
2700 uint32_t slot; local
[all …]
Dswap_misc.c38 uint8_t slot; in swap_erase_trailer_sectors() local
Dimage_validate.c195 int slot = flash_area_id_to_multi_image_slot(image_index, in bootutil_img_hash() local
353 bootutil_get_img_security_cnt(struct boot_loader_state *state, int slot, in bootutil_get_img_security_cnt()
Dboot_record.c240 const uint8_t slot, const struct image_max_size *max_app_sizes) in boot_save_shared_data()
Dswap_offset.c80 int boot_read_image_header(struct boot_loader_state *state, int slot,
758 int boot_read_image_size(struct boot_loader_state *state, int slot, uint32_t *size)
/mcuboot-latest/sim/mcuboot-sys/csupport/
Drun.c298 int flash_area_id_from_multi_image_slot(int image_index, int slot) in flash_area_id_from_multi_image_slot()
375 struct area *slot; in flash_area_to_sectors() local
406 struct area *slot; in flash_area_get_sectors() local
449 int flash_area_id_from_image_slot(int slot) { in flash_area_id_from_image_slot()
457 struct area *slot; in flash_area_sector_from_off() local
491 struct area *slot; in flash_area_get_sector() local
/mcuboot-latest/boot/mynewt/flash_map_backend/src/
Dflash_map_extended.c25 int flash_area_id_from_multi_image_slot(int image_index, int slot) in flash_area_id_from_multi_image_slot()
/mcuboot-latest/samples/runtime-source/zephyr/hooks/
Dhooks.c103 int flash_area_id_from_multi_image_slot_hook(int image_index, int slot, in flash_area_id_from_multi_image_slot_hook()
/mcuboot-latest/boot/zephyr/include/sysflash/
Dsysflash.h41 static inline uint32_t __flash_area_ids_for_slot(int img, int slot) in __flash_area_ids_for_slot()
/mcuboot-latest/boot/mbed/src/
Dflash_map_backend.cpp234 int flash_area_id_from_image_slot(int slot) { in flash_area_id_from_image_slot()
241 int flash_area_id_from_multi_image_slot(int image_index, int slot) in flash_area_id_from_multi_image_slot()
/mcuboot-latest/sim/src/
Ddepends.rs41 let slot = if self.test.downgrade { in my_version() localVariable
139 let slot = if self.test.downgrade { in my_version() localVariable
/mcuboot-latest/boot/cypress/cy_flash_pal/
Dcy_flash_map.c413 int flash_area_id_from_multi_image_slot(int image_index, int slot) in flash_area_id_from_multi_image_slot()
424 int flash_area_id_from_image_slot(int slot) in flash_area_id_from_image_slot()
/mcuboot-latest/boot/nuttx/src/flash_map_backend/
Dflash_map_backend.c706 int flash_area_id_from_multi_image_slot(int image_index, int slot) in flash_area_id_from_multi_image_slot()
739 int flash_area_id_from_image_slot(int slot) in flash_area_id_from_image_slot()
/mcuboot-latest/boot/boot_serial/src/
Dboot_serial_encryption.c140 int slot = flash_area_id_to_multi_image_slot(BOOT_CURR_IMG(state), in decrypt_region_inplace() local

12