/tf-a-ffa_el3_spmc/common/ |
A D | bl_common.c | 76 size_t image_size; in load_image() local 104 io_result = io_size(image_handle, &image_size); in load_image() 105 if ((io_result != 0) || (image_size == 0U)) { in load_image() 112 if (image_size > image_data->image_max_size) { in load_image() 122 image_data->image_size = (uint32_t)image_size; in load_image() 133 (uintptr_t)(image_base + image_size)); in load_image() 158 image_data->image_size); in load_image_flush() 195 image_data->image_size); in load_auth_image_recursive() 199 image_data->image_size); in load_auth_image_recursive() 201 image_data->image_size); in load_auth_image_recursive() [all …]
|
A D | image_decompress.c | 51 compressed_image_size = info->image_size; in image_decompress() 75 info->image_size = image_base - info->image_base; in image_decompress() 77 flush_dcache_range(info->image_base, info->image_size); in image_decompress()
|
/tf-a-ffa_el3_spmc/plat/nxp/common/img_loadr/ |
A D | load_img.c | 32 uint32_t *image_size) in load_img() argument 42 .image_info.image_max_size = *image_size + CSF_HDR_SZ, in load_img() 45 .image_info.image_max_size = *image_size, in load_img() 68 *image_size = img_info.image_info.image_size - CSF_HDR_SZ; in load_img() 75 *image_size = img_info.image_info.image_size; in load_img()
|
A D | load_img.h | 12 uint32_t *image_size);
|
/tf-a-ffa_el3_spmc/drivers/arm/css/scp/ |
A D | css_bom_bootloader.c | 32 uint32_t image_size; member 104 int css_scp_boot_image_xfer(void *image, unsigned int image_size) in css_scp_boot_image_xfer() argument 113 if ((image_size == 0) || (image_size % 4 != 0)) { in css_scp_boot_image_xfer() 116 image_size); in css_scp_boot_image_xfer() 123 image_size -= sizeof(checksum); in css_scp_boot_image_xfer() 137 cmd_info_payload->image_size = image_size; in css_scp_boot_image_xfer() 175 cmd_data_payload->block_size = image_size; in css_scp_boot_image_xfer()
|
A D | css_sds.c | 18 int css_scp_boot_image_xfer(void *image, unsigned int image_size) in css_scp_boot_image_xfer() argument 38 &image_size, SDS_SCP_IMG_SIZE_SIZE, in css_scp_boot_image_xfer()
|
/tf-a-ffa_el3_spmc/bl1/ |
A D | bl1_fwu.c | 32 unsigned int image_size, 36 unsigned int image_size, 197 if (info->image_size == 0) in bl1_fwu_image_check_overlaps() 227 unsigned int image_size, in bl1_fwu_image_copy() argument 279 image_size = desc->image_info.image_size; in bl1_fwu_image_copy() 280 assert(image_size != 0); in bl1_fwu_image_copy() 291 if (image_size == 0) { in bl1_fwu_image_copy() 304 desc->image_info.image_size = image_size; in bl1_fwu_image_copy() 308 desc->image_info.image_size = 0; in bl1_fwu_image_copy() 369 unsigned int image_size, in bl1_fwu_image_auth() argument [all …]
|
/tf-a-ffa_el3_spmc/plat/marvell/armada/common/mss/ |
A D | mss_scp_bootloader.c | 176 uint32_t image_size, uint32_t ap_idx) in mss_ap_load_image() argument 211 ret = mss_image_load(single_img, image_size, in mss_ap_load_image() 228 uintptr_t single_img, uint32_t image_size) in load_img_to_cm3() argument 237 ret = mss_ap_load_image(single_img, image_size, ap_idx); in load_img_to_cm3() 266 ret = mss_image_load(single_img, image_size, in load_img_to_cm3() 287 ret = mg_image_load(single_img, image_size, cp_index); in load_img_to_cm3() 350 int scp_bootloader_transfer(void *image, unsigned int image_size) in scp_bootloader_transfer() argument 356 VERBOSE("Concatenated img size %d\n", image_size); in scp_bootloader_transfer() 358 if (image_size == 0) { in scp_bootloader_transfer() 360 image_size); in scp_bootloader_transfer()
|
A D | mss_scp_bootloader.h | 11 int scp_bootloader_transfer(void *image, unsigned int image_size);
|
/tf-a-ffa_el3_spmc/drivers/brcm/ |
A D | scp.c | 46 int download_scp_patch(void *image, unsigned int image_size) in download_scp_patch() argument 65 if (image_size < header_size) { in download_scp_patch() 87 if ((section_src_offset + section_size) > image_size) { in download_scp_patch()
|
/tf-a-ffa_el3_spmc/plat/hisilicon/hikey/ |
A D | hisi_mcu.c | 48 uint32_t image_size; member 77 if ((head->image_size == 0) || in is_binary_header_invalid() 78 (head->image_size > length) || in is_binary_header_invalid() 92 (sec->src_offset + sec->size > head->image_size)) in is_binary_section_invalid() 157 int hisi_mcu_load_image(uintptr_t image_base, uint32_t image_size) in hisi_mcu_load_image() argument 164 if (is_binary_header_invalid(head, image_size)) { in hisi_mcu_load_image()
|
/tf-a-ffa_el3_spmc/plat/arm/common/ |
A D | arm_dyn_cfg.c | 157 image_info.image_size, hash_data); in arm_bl1_set_bl2_hash() 206 uint32_t image_size; in arm_bl2_dyn_cfg_init() local 234 image_size = dtb_info->config_max_size; in arm_bl2_dyn_cfg_init() 243 if (check_uptr_overflow(image_base, image_size)) { in arm_bl2_dyn_cfg_init() 270 cfg_mem_params->image_info.image_max_size = (uint32_t)image_size; in arm_bl2_dyn_cfg_init()
|
/tf-a-ffa_el3_spmc/include/drivers/brcm/ |
A D | scp.h | 12 int download_scp_patch(void *image, unsigned int image_size);
|
/tf-a-ffa_el3_spmc/plat/hisilicon/hikey/include/ |
A D | hisi_mcu.h | 14 extern int hisi_mcu_load_image(uintptr_t image_base, uint32_t image_size);
|
/tf-a-ffa_el3_spmc/plat/arm/css/common/ |
A D | css_bl2u_setup.c | 45 scp_bl2u_image_info.image_size); in bl2u_plat_handle_scp_bl2u()
|
A D | css_bl2_setup.c | 31 scp_bl2_image_info->image_size); in plat_arm_bl2_handle_scp_bl2()
|
/tf-a-ffa_el3_spmc/plat/amlogic/gxl/ |
A D | gxl_bl31_setup.c | 112 bl30_image_info.image_size, 0); in gxl_scp_boot() 114 bl301_image_info.image_size, 1); in gxl_scp_boot()
|
/tf-a-ffa_el3_spmc/plat/amlogic/axg/ |
A D | axg_bl31_setup.c | 122 bl30_image_info.image_size, 0); in axg_scp_boot() 124 bl301_image_info.image_size, 1); in axg_scp_boot()
|
/tf-a-ffa_el3_spmc/docs/resources/diagrams/plantuml/ |
A D | io_framework_usage_overview.puml | 39 bl_common -> io_storage : io_size(image_handle, &image_size) 41 bl_common -> io_storage : io_read(image_handle, image_base, image_size, &bytes_read)
|
/tf-a-ffa_el3_spmc/docs/security_advisories/ |
A D | security-advisory-tfv-1.rst | 71 image_desc->image_info.image_size) { 72 block_size = image_desc->image_info.image_size - 113 (image_desc->image_info.image_base + image_size > 120 image_desc->image_info.image_size = image_size; 127 operation. Both ``block_size`` and ``image_size`` are SMC arguments. A very 128 large value of ``image_size`` may result in an integer overflow in the 2nd
|
/tf-a-ffa_el3_spmc/include/drivers/arm/css/ |
A D | css_scp.h | 30 int css_scp_boot_image_xfer(void *image, unsigned int image_size);
|
/tf-a-ffa_el3_spmc/plat/hisilicon/hikey960/ |
A D | hikey960_bl2_setup.c | 53 assert(scp_bl2_image_info->image_size < SCP_BL2_SIZE); in plat_hikey960_bl2_handle_scp_bl2() 59 scp_bl2_image_info->image_size); in plat_hikey960_bl2_handle_scp_bl2() 69 scp_bl2_image_info->image_size - 256); in plat_hikey960_bl2_handle_scp_bl2()
|
/tf-a-ffa_el3_spmc/plat/nvidia/tegra/soc/t186/ |
A D | plat_setup.c | 337 bl32_end = bl32_img_info->image_base + bl32_img_info->image_size; in plat_relocate_bl32_image() 351 bl32_img_info->image_size); in plat_relocate_bl32_image() 355 bl32_img_info->image_size); in plat_relocate_bl32_image()
|
/tf-a-ffa_el3_spmc/plat/arm/css/sgi/ |
A D | sgi_image_load.c | 72 flush_dcache_range((uintptr_t)fdt, mem_params->image_info.image_size); in plat_sgi_append_config_node()
|
/tf-a-ffa_el3_spmc/include/export/common/ |
A D | bl_common_exp.h | 43 uint32_t image_size; /* bytes read from image file */ member
|