/mcuboot-3.6.0/boot/espressif/include/flash_map_backend/ |
D | flash_map_backend.h | 11 struct flash_area { struct 28 static inline uint8_t flash_area_get_device_id(const struct flash_area *fa) in flash_area_get_device_id() argument 32 static inline uint32_t flash_area_get_off(const struct flash_area *fa) in flash_area_get_off() 37 static inline uint32_t flash_area_get_size(const struct flash_area *fa) in flash_area_get_size() 42 static inline uint8_t flash_area_get_id(const struct flash_area *fa) in flash_area_get_id() 58 int flash_area_open(uint8_t id, const struct flash_area **area_outp); 59 void flash_area_close(const struct flash_area *fa); 62 int flash_area_read(const struct flash_area *fa, uint32_t off, 65 int flash_area_write(const struct flash_area *fa, uint32_t off, 68 int flash_area_erase(const struct flash_area *fa, [all …]
|
/mcuboot-3.6.0/boot/cypress/cy_flash_pal/include/flash_map_backend/ |
D | flash_map_backend.h | 70 struct flash_area { struct 95 static inline uint8_t flash_area_get_id(const struct flash_area *fa) in flash_area_get_id() argument 100 static inline uint8_t flash_area_get_device_id(const struct flash_area *fa) in flash_area_get_device_id() 105 static inline uint32_t flash_area_get_off(const struct flash_area *fa) in flash_area_get_off() 110 static inline uint32_t flash_area_get_size(const struct flash_area *fa) in flash_area_get_size() 146 struct flash_area area; 159 int flash_area_open(uint8_t id, const struct flash_area **); 160 void flash_area_close(const struct flash_area *); 162 int flash_area_read(const struct flash_area *, uint32_t off, void *dst, 165 int flash_area_write(const struct flash_area *, uint32_t off, [all …]
|
/mcuboot-3.6.0/boot/mbed/include/flash_map_backend/ |
D | flash_map_backend.h | 53 struct flash_area { struct 78 static inline uint8_t flash_area_get_id(const struct flash_area *fa) in flash_area_get_id() argument 83 static inline uint8_t flash_area_get_device_id(const struct flash_area *fa) in flash_area_get_device_id() 88 static inline uint32_t flash_area_get_off(const struct flash_area *fa) in flash_area_get_off() 93 static inline uint32_t flash_area_get_size(const struct flash_area *fa) in flash_area_get_size() 130 int flash_area_open(uint8_t id, const struct flash_area ** fapp); 132 void flash_area_close(const struct flash_area * fap); 137 int flash_area_read(const struct flash_area * fap, uint32_t off, void *dst, 139 int flash_area_write(const struct flash_area * fap, uint32_t off, const void *src, 141 int flash_area_erase(const struct flash_area * fap, uint32_t off, uint32_t len); [all …]
|
/mcuboot-3.6.0/boot/nuttx/include/flash_map_backend/ |
D | flash_map_backend.h | 39 struct flash_area struct 85 static inline uint8_t flash_area_get_id(const struct flash_area *fa) in flash_area_get_id() 104 static inline uint8_t flash_area_get_device_id(const struct flash_area *fa) in flash_area_get_device_id() 125 int flash_area_get_sector(const struct flash_area *fap, off_t off, 143 static inline uint32_t flash_area_get_off(const struct flash_area *fa) in flash_area_get_off() 162 static inline uint32_t flash_area_get_size(const struct flash_area *fa) in flash_area_get_size() 228 int flash_area_open(uint8_t id, const struct flash_area **fa); 244 void flash_area_close(const struct flash_area *fa); 268 int flash_area_read(const struct flash_area *fa, uint32_t off, 291 int flash_area_write(const struct flash_area *fa, uint32_t off, [all …]
|
/mcuboot-3.6.0/sim/mcuboot-sys/csupport/storage/ |
D | flash_map.h | 53 struct flash_area { struct 110 int flash_area_open(uint8_t id, const struct flash_area **); 112 void flash_area_close(const struct flash_area *); 117 int flash_area_read(const struct flash_area *, uint32_t off, void *dst, 119 int flash_area_write(const struct flash_area *, uint32_t off, const void *src, 121 int flash_area_erase(const struct flash_area *, uint32_t off, uint32_t len); 126 uint32_t flash_area_align(const struct flash_area *); 131 uint8_t flash_area_erased_val(const struct flash_area *); 153 int flash_area_get_sector(const struct flash_area *fa, uint32_t off, 161 int flash_area_to_sectors(int idx, int *cnt, struct flash_area *ret);
|
/mcuboot-3.6.0/boot/zephyr/include/flash_map_backend/ |
D | flash_map_backend.h | 65 static inline uint32_t flash_area_get_off(const struct flash_area *fa) in flash_area_get_off() 70 static inline uint32_t flash_area_get_size(const struct flash_area *fa) in flash_area_get_size() 75 static inline uint8_t flash_area_get_id(const struct flash_area *fa) in flash_area_get_id() 80 uint8_t flash_area_get_device_id(const struct flash_area *fa); 86 uint8_t flash_area_erased_val(const struct flash_area *fap); 106 int flash_area_get_sector(const struct flash_area *fa, off_t off,
|
/mcuboot-3.6.0/boot/nuttx/ |
D | main.c | 66 const struct flash_area *flash_area; in do_boot() local 73 ret = flash_area_open(area_id, &flash_area); in do_boot() 76 syslog(LOG_INFO, "Booting from %s...\n", flash_area->fa_mtd_path); in do_boot() 78 info.path = flash_area->fa_mtd_path; in do_boot() 81 flash_area_close(flash_area); in do_boot()
|
/mcuboot-3.6.0/boot/bootutil/src/ |
D | bootutil_priv.h | 50 struct flash_area; 213 typedef struct flash_area boot_sector_t; 220 const struct flash_area *area; 227 const struct flash_area *area; 267 int boot_find_status(int image_index, const struct flash_area **fap); 271 int boot_status_entries(int image_index, const struct flash_area *fap); 272 uint32_t boot_status_off(const struct flash_area *fap); 273 int boot_read_swap_state(const struct flash_area *fap, 277 int boot_write_magic(const struct flash_area *fap); 279 int boot_write_copy_done(const struct flash_area *fap); [all …]
|
D | bootutil_misc.h | 29 boot_magic_off(const struct flash_area *fap) in boot_magic_off() 35 boot_image_ok_off(const struct flash_area *fap) in boot_image_ok_off() 41 boot_copy_done_off(const struct flash_area *fap) in boot_copy_done_off() 47 boot_swap_size_off(const struct flash_area *fap) in boot_swap_size_off()
|
D | bootutil_public.c | 142 boot_swap_info_off(const struct flash_area *fap) in boot_swap_info_off() 173 bool bootutil_buffer_is_erased(const struct flash_area *area, in bootutil_buffer_is_erased() 195 boot_read_flag(const struct flash_area *fap, uint8_t *flag, uint32_t off) in boot_read_flag() 213 boot_read_copy_done(const struct flash_area *fap, uint8_t *copy_done) in boot_read_copy_done() 220 boot_read_swap_state(const struct flash_area *fap, in boot_read_swap_state() 266 const struct flash_area *fap; in boot_read_swap_state_by_id() 280 boot_write_magic(const struct flash_area *fap) in boot_write_magic() 322 boot_write_trailer(const struct flash_area *fap, uint32_t off, in boot_write_trailer() 349 boot_write_trailer_flag(const struct flash_area *fap, uint32_t off, in boot_write_trailer_flag() 357 boot_write_image_ok(const struct flash_area *fap) in boot_write_image_ok() [all …]
|
D | swap_priv.h | 31 const struct flash_area *fap); 38 const struct flash_area *fap, 65 int swap_read_status_bytes(const struct flash_area *fap,
|
D | bootutil_misc.c | 153 boot_status_entries(int image_index, const struct flash_area *fap) in boot_status_entries() 168 boot_status_off(const struct flash_area *fap) in boot_status_off() 191 boot_enc_key_off(const struct flash_area *fap, uint8_t slot) in boot_enc_key_off() 211 boot_find_status(int image_index, const struct flash_area **fap) in boot_find_status() 254 boot_read_swap_size(const struct flash_area *fap, uint32_t *swap_size) in boot_read_swap_size() 267 boot_read_enc_key(const struct flash_area *fap, uint8_t slot, struct boot_status *bs) in boot_read_enc_key() 298 boot_write_swap_size(const struct flash_area *fap, uint32_t swap_size) in boot_write_swap_size() 311 boot_write_enc_key(const struct flash_area *fap, uint8_t slot, in boot_write_enc_key() 334 uint32_t bootutil_max_image_size(const struct flash_area *fap) in bootutil_max_image_size()
|
/mcuboot-3.6.0/sim/mcuboot-sys/csupport/flash_map_backend/ |
D | flash_map_backend.h | 6 static inline uint32_t flash_area_get_off(const struct flash_area *fa) in flash_area_get_off() 11 static inline uint32_t flash_area_get_size(const struct flash_area *fa) in flash_area_get_size() 28 static inline uint8_t flash_area_get_device_id(const struct flash_area *fa) in flash_area_get_device_id() 33 static inline uint8_t flash_area_get_id(const struct flash_area *fa) in flash_area_get_id()
|
/mcuboot-3.6.0/boot/boot_serial/include/boot_serial/ |
D | boot_serial_encryption.h | 22 boot_image_validate_encrypted(const struct flash_area *fa_p, 30 int boot_handle_enc_fw(const struct flash_area *flash_area);
|
/mcuboot-3.6.0/boot/espressif/port/ |
D | esp_mcuboot.c | 65 static const struct flash_area bootloader = { 72 static const struct flash_area primary_img0 = { 79 static const struct flash_area secondary_img0 = { 87 static const struct flash_area primary_img1 = { 94 static const struct flash_area secondary_img1 = { 102 static const struct flash_area scratch_img0 = { 109 static const struct flash_area *s_flash_areas[] = { 120 static const struct flash_area *prv_lookup_flash_area(uint8_t id) { in prv_lookup_flash_area() 122 const struct flash_area *area = s_flash_areas[i]; in prv_lookup_flash_area() 130 int flash_area_open(uint8_t id, const struct flash_area **area_outp) in flash_area_open() [all …]
|
/mcuboot-3.6.0/boot/mynewt/flash_map_backend/include/flash_map_backend/ |
D | flash_map_backend.h | 51 static inline int flash_area_get_sector(const struct flash_area *fa, off_t off, in flash_area_get_sector() 57 static inline uint8_t flash_area_get_id(const struct flash_area *fa) in flash_area_get_id() 62 static inline uint8_t flash_area_get_device_id(const struct flash_area *fa) in flash_area_get_device_id() 67 static inline uint32_t flash_area_get_off(const struct flash_area *fa) in flash_area_get_off() 72 static inline uint32_t flash_area_get_size(const struct flash_area *fa) in flash_area_get_size()
|
/mcuboot-3.6.0/boot/cypress/cy_flash_pal/ |
D | cy_flash_map.c | 76 static struct flash_area bootloader = 84 static struct flash_area primary_1 = 93 static struct flash_area secondary_1 = 103 static struct flash_area secondary_1 = 112 static struct flash_area primary_2 = 123 static struct flash_area secondary_2 = 145 static struct flash_area scratch = 168 extern struct flash_area *boot_area_descs[]; 170 struct flash_area *boot_area_descs[] = 199 int flash_area_open(uint8_t id, const struct flash_area **fa) in flash_area_open() [all …]
|
/mcuboot-3.6.0/boot/mbed/src/ |
D | flash_map_backend.cpp | 56 static struct flash_area flash_areas[FLASH_AREAS]; 60 int flash_area_open(uint8_t id, const struct flash_area** fapp) { in flash_area_open() 63 struct flash_area* fap = (struct flash_area*)*fapp; in flash_area_open() 112 void flash_area_close(const struct flash_area* fap) { in flash_area_close() 133 int flash_area_read(const struct flash_area* fap, uint32_t off, void* dst, uint32_t len) { in flash_area_read() 191 int flash_area_write(const struct flash_area* fap, uint32_t off, const void* src, uint32_t len) { in flash_area_write() 196 int flash_area_erase(const struct flash_area* fap, uint32_t off, uint32_t len) { in flash_area_erase() 201 uint32_t flash_area_align(const struct flash_area* fap) { in flash_area_align() 206 uint8_t flash_area_erased_val(const struct flash_area* fap) { in flash_area_erased_val()
|
/mcuboot-3.6.0/boot/bootutil/include/bootutil/ |
D | bootutil_public.h | 235 uint32_t boot_swap_info_off(const struct flash_area *fap); 248 int boot_read_image_ok(const struct flash_area *fap, uint8_t *image_ok); 270 boot_read_swap_state(const struct flash_area *fa, 298 boot_set_next(const struct flash_area *fa, bool active, bool confirm); 309 boot_image_load_header(const struct flash_area *fa_p,
|
D | boot_hooks.h | 101 const struct flash_area *area); 119 int boot_copy_region_post_hook(int img_index, const struct flash_area *area, 137 int boot_serial_uploaded_hook(int img_index, const struct flash_area *area,
|
D | enc_key.h | 56 const struct image_header *hdr, const struct flash_area *fap, 60 const struct flash_area *fap); 62 const struct flash_area *fap, uint32_t off, uint32_t sz,
|
D | image.h | 43 struct flash_area; 169 const struct flash_area *fap, 175 const struct flash_area *fap; 185 const struct flash_area *fap, uint16_t type, 191 const struct flash_area *fap,
|
D | boot_record.h | 66 const struct flash_area *fap); 80 const struct flash_area *fap,
|
/mcuboot-3.6.0/boot/zephyr/ |
D | hooks_sample.c | 55 const struct flash_area *area) in boot_perform_update_hook() 80 int boot_copy_region_post_hook(int img_index, const struct flash_area *area, in boot_copy_region_post_hook() 86 int boot_serial_uploaded_hook(int img_index, const struct flash_area *area, in boot_serial_uploaded_hook()
|
/mcuboot-3.6.0/boot/cypress/cy_flash_pal/include/ |
D | cy_smif_psoc6.h | 60 int psoc6_smif_read(const struct flash_area *fap, off_t addr, void *data, size_t len); 61 int psoc6_smif_write(const struct flash_area *fap, off_t addr, const void *data, size_t len);
|