Home
last modified time | relevance | path

Searched refs:sh_size (Results 1 – 8 of 8) sorted by relevance

/u-boot/lib/
A Delf.c90 shdr->sh_addr == 0 || shdr->sh_size == 0) { in load_elf64_image_shdr()
99 (long)shdr->sh_size); in load_elf64_image_shdr()
104 shdr->sh_size); in load_elf64_image_shdr()
108 (const void *)image, shdr->sh_size); in load_elf64_image_shdr()
111 roundup((shdr->sh_addr + shdr->sh_size), in load_elf64_image_shdr()
195 shdr->sh_addr == 0 || shdr->sh_size == 0) { in load_elf_image_shdr()
204 (long)shdr->sh_size); in load_elf_image_shdr()
209 shdr->sh_size); in load_elf_image_shdr()
213 (const void *)image, shdr->sh_size); in load_elf_image_shdr()
216 roundup((shdr->sh_addr + shdr->sh_size), in load_elf_image_shdr()
/u-boot/test/dm/
A Dremoteproc.c235 rsc_table_size = shdr->sh_size; in dm_test_remoteproc_elf()
249 shdr->sh_size); in dm_test_remoteproc_elf()
/u-boot/tools/
A Dimg2srec.c287 getPtr = ExtractLong((uint32_t *)&sectHeader[i].sh_size, getPtr); in ConvertELF()
313 && (sectHeader[i].sh_size != 0) in ConvertELF()
315 loadSize = sectHeader[i].sh_size; in ConvertELF()
328 loadSize = sectHeader[i].sh_size; in ConvertELF()
A Dzynqmpbif.c560 if (!shdr->sh_size || !shdr->sh_addr || in elf2flat64()
567 if ((le64_to_cpu(shdr->sh_addr) + le64_to_cpu(shdr->sh_size)) > in elf2flat64()
570 le64_to_cpu(shdr->sh_size); in elf2flat64()
584 if (!shdr->sh_size || !shdr->sh_addr || in elf2flat64()
589 memcpy(dst, src, le64_to_cpu(shdr->sh_size)); in elf2flat64()
608 if (!shdr->sh_size || !shdr->sh_addr || in elf2flat32()
615 if ((le32_to_cpu(shdr->sh_addr) + le32_to_cpu(shdr->sh_size)) > in elf2flat32()
618 le32_to_cpu(shdr->sh_size); in elf2flat32()
632 if (!shdr->sh_size || !shdr->sh_addr || in elf2flat32()
637 memcpy(dst, src, le32_to_cpu(shdr->sh_size)); in elf2flat32()
A Dmips-relocs.c348 sh_entries = shdr_field(i, sh_size) / sh_entsize; in main()
393 rel_size = shdr_field(i_rel_shdr, sh_size); in main()
/u-boot/drivers/remoteproc/
A Drproc-elf-loader.c328 u32 size = shdr->sh_size;
389 *rsc_size = (ulong)shdr->sh_size;
437 u64 size = shdr->sh_size;
498 *rsc_size = (ulong)shdr->sh_size;
/u-boot/drivers/net/pfe_eth/
A Dpfe_hw.c353 u32 size = be32_to_cpu(shdr->sh_size); in pe_load_pmem_section()
404 u32 size = be32_to_cpu(shdr->sh_size); in pe_load_dmem_section()
461 u32 size = be32_to_cpu(shdr->sh_size); in pe_load_ddr_section()
545 u32 size = be32_to_cpu(shdr->sh_size); in pe_load_pe_lmem_section()
599 u32 size = be32_to_cpu(shdr->sh_size); in pe_load_elf_section()
/u-boot/include/
A Delf.h237 Elf32_Word sh_size; /* section size */ member
251 Elf64_Xword sh_size; /* section size */ member

Completed in 14 milliseconds