Home
last modified time | relevance | path

Searched refs:load_addr (Results 1 – 25 of 130) sorted by relevance

123456

/openbmc/u-boot/cmd/
H A Dqfw.c16 static int qemu_fwcfg_setup_kernel(void *load_addr, void *initrd_addr) in qemu_fwcfg_setup_kernel() argument
29 data_addr = load_addr; in qemu_fwcfg_setup_kernel()
62 printf("loading kernel to address %p size %x", load_addr, in qemu_fwcfg_setup_kernel()
122 void *load_addr; in qemu_fwcfg_do_load() local
126 load_addr = env ? in qemu_fwcfg_do_load()
144 load_addr = (void *)simple_strtoul(argv[0], NULL, 16); in qemu_fwcfg_do_load()
147 load_addr = (void *)simple_strtoul(argv[0], NULL, 16); in qemu_fwcfg_do_load()
150 if (!load_addr || !initrd_addr) { in qemu_fwcfg_do_load()
155 return qemu_fwcfg_setup_kernel(load_addr, initrd_addr); in qemu_fwcfg_do_load()
H A Dbootz.c35 images->ep = load_addr; in bootz_start()
37 load_addr); in bootz_start()
/openbmc/qemu/hw/core/
H A Dloader-fit.c127 hwaddr load_addr, entry_addr; in fit_load_kernel() local
144 err = fit_image_addr(itb, img_off, "load", &load_addr, errp); in fit_load_kernel()
163 *pend = load_addr + sz; in fit_load_kernel()
166 load_addr = ldr->addr_to_phys(opaque, load_addr); in fit_load_kernel()
167 rom_add_blob_fixed(name, load_data, sz, load_addr); in fit_load_kernel()
187 hwaddr load_addr; in fit_load_fdt() local
203 ret = fit_image_addr(itb, img_off, "load", &load_addr, &err); in fit_load_fdt()
205 load_addr = ROUND_UP(kernel_end, 64 * KiB) + (10 * MiB); in fit_load_fdt()
214 load_data = ldr->fdt_filter(opaque, data, match_data, &load_addr); in fit_load_fdt()
217 load_addr = ldr->addr_to_phys(opaque, load_addr); in fit_load_fdt()
[all …]
/openbmc/u-boot/common/spl/
H A Dspl_fit.c178 ulong load_addr, load_ptr; in spl_load_fit_image() local
202 if (fit_image_get_load(fit, node, &load_addr)) in spl_load_fit_image()
203 load_addr = image_info->load_addr; in spl_load_fit_image()
217 load_ptr = (load_addr + align_len) & ~align_len; in spl_load_fit_image()
257 if (gunzip((void *)load_addr, CONFIG_SYS_BOOTM_LEN, in spl_load_fit_image()
264 memcpy((void *)load_addr, src, length); in spl_load_fit_image()
268 image_info->load_addr = load_addr; in spl_load_fit_image()
294 image_info.load_addr = spl_image->load_addr + spl_image->size; in spl_fit_append_fdt()
302 spl_image->fdt_addr = (void *)image_info.load_addr; in spl_fit_append_fdt()
426 (u32)spl_image->load_addr, spl_image->size); in spl_load_simple_fit()
[all …]
H A Dspl_ubi.c50 volumes[0].load_addr = (void *)CONFIG_SYS_LOAD_ADDR; in spl_ubi_load_image()
52 volumes[1].load_addr = (void *)CONFIG_SYS_SPL_ARGS_ADDR; in spl_ubi_load_image()
56 header = (struct image_header *)volumes[0].load_addr; in spl_ubi_load_image()
66 volumes[0].load_addr = (void *)header; in spl_ubi_load_image()
H A Dspl_net.c21 memcpy(buf, (void *)(load_addr + sector), count); in spl_net_load_read()
28 struct image_header *header = (struct image_header *)load_addr; in spl_net_load_image()
62 memcpy((void *)spl_image->load_addr, header, spl_image->size); in spl_net_load_image()
H A Dspl_xip.c18 spl_image->load_addr = CONFIG_SYS_LOAD_ADDR; in spl_xip()
21 spl_image->load_addr); in spl_xip()
H A Dspl.c157 spl_image->load_addr = u_boot_pos; in spl_set_header_raw_uboot()
160 spl_image->load_addr = CONFIG_SYS_TEXT_BASE; in spl_set_header_raw_uboot()
192 spl_image->load_addr = fw_data; in spl_load_fit_image()
197 spl_image->name, spl_image->load_addr, spl_image->size); in spl_load_fit_image()
261 spl_image->load_addr = image_get_load(header); in spl_parse_image_header()
267 spl_image->load_addr = spl_image->entry_point - in spl_parse_image_header()
283 spl_image->name, spl_image->load_addr, spl_image->size); in spl_parse_image_header()
308 spl_image->load_addr = CONFIG_SYS_LOAD_ADDR; in spl_parse_image_header()
313 spl_image->load_addr, spl_image->size); in spl_parse_image_header()
/openbmc/u-boot/tools/
H A Dgpimage-common.c35 uint32_t gph_load_addr = gph->load_addr; in gph_verify_header()
48 uint32_t gph_size = gph->size, gph_load_addr = gph->load_addr; in gph_print_header()
66 void gph_set_header(struct gp_header *gph, uint32_t size, uint32_t load_addr, in gph_set_header() argument
70 gph->load_addr = load_addr; in gph_set_header()
72 to_be32(&gph->size, &gph->load_addr); in gph_set_header()
H A Dgpheader.h27 uint32_t load_addr; member
33 int valid_gph_load_addr(uint32_t load_addr);
36 void gph_set_header(struct gp_header *gph, uint32_t size, uint32_t load_addr,
/openbmc/u-boot/arch/arm/lib/
H A Dsemihosting.c148 static int smh_load_file(const char * const name, ulong load_addr, in smh_load_file() argument
165 ret = smh_read(fd, (void *)load_addr, len); in smh_load_file()
169 *end_addr = load_addr + len - 1; in smh_load_file()
172 load_addr, in smh_load_file()
186 ulong load_addr; in do_smhload() local
191 load_addr = simple_strtoul(argv[2], NULL, 16); in do_smhload()
192 if (!load_addr) in do_smhload()
195 ret = smh_load_file(argv[1], load_addr, &end_addr); in do_smhload()
/openbmc/qemu/pc-bios/s390-ccw/
H A Dvirtio-blkdev.c19 static int virtio_blk_read_many(VDev *vdev, unsigned long sector, void *load_addr, in virtio_blk_read_many() argument
34 vring_send_buf(vr, load_addr, virtio_get_block_size() * sec_num, in virtio_blk_read_many()
52 int virtio_read_many(unsigned long sector, void *load_addr, int sec_num) in virtio_read_many() argument
58 return virtio_blk_read_many(vdev, sector, load_addr, sec_num); in virtio_read_many()
60 return virtio_scsi_read_many(vdev, sector, load_addr, sec_num); in virtio_read_many()
67 unsigned long subchan_id, void *load_addr) in virtio_load_direct() argument
73 unsigned long addr = (unsigned long)load_addr; in virtio_load_direct()
89 int virtio_read(unsigned long sector, void *load_addr) in virtio_read() argument
91 return virtio_read_many(sector, load_addr, 1); in virtio_read()
/openbmc/u-boot/arch/arm/mach-keystone/
H A Dcmd_mon.c18 u32 addr, dpsc_base = 0x1E80000, freq, load_addr, size; in do_mon_install() local
37 load_addr = image_get_load(header); in do_mon_install()
39 memcpy((void *)load_addr, (void *)(addr + sizeof(struct image_header)), in do_mon_install()
45 rcode = mon_install(load_addr, dpsc_base, freq, ecrypt_bm_addr); in do_mon_install()
47 load_addr, freq, rcode); in do_mon_install()
/openbmc/linux/arch/arm64/kernel/probes/
H A Dsimulate-insn.c174 unsigned long load_addr; in simulate_ldr_literal() local
177 load_addr = addr + ldr_displacement(opcode); in simulate_ldr_literal()
180 set_x_reg(regs, xn, READ_ONCE(*(u64 *)load_addr)); in simulate_ldr_literal()
182 set_w_reg(regs, xn, READ_ONCE(*(u32 *)load_addr)); in simulate_ldr_literal()
190 unsigned long load_addr; in simulate_ldrsw_literal() local
193 load_addr = addr + ldr_displacement(opcode); in simulate_ldrsw_literal()
195 set_x_reg(regs, xn, READ_ONCE(*(s32 *)load_addr)); in simulate_ldrsw_literal()
/openbmc/linux/tools/testing/selftests/x86/
H A Dentry_from_vm86.c27 static unsigned long load_addr = 0x10000; variable
253 unsigned char *addr = mmap((void *)load_addr, 4096, in main()
256 if (addr != (unsigned char *)load_addr) in main()
265 v86.regs.cs = load_addr / 16; in main()
266 v86.regs.ss = load_addr / 16; in main()
267 v86.regs.ds = load_addr / 16; in main()
268 v86.regs.es = load_addr / 16; in main()
/openbmc/u-boot/board/synopsys/axs10x/
H A Dheaderize-axs.py129 load_addr = 0x81000000
130 crc_store_adr = load_addr - 0x8
134 "crc32 " + hex(load_addr) + " " + hex(load_size) + " " + hex(crc_calc_adr)
158 "fatload mmc 0:1 " + hex(load_addr) + " " + headerised_filename + " && " + \
162 … "sf write " + hex(load_addr) + " " + hex(spi_flash_offset) + " " + hex(load_size) + " && " + \
/openbmc/u-boot/board/synopsys/hsdk/
H A Dheaderize-hsdk.py111 load_addr = 0x81000000
112 crc_store_adr = load_addr - 0x8
116 "crc32 " + hex(load_addr) + " " + hex(load_size) + " " + hex(crc_calc_adr)
130 "fatload mmc 0:1 " + hex(load_addr) + " " + headerised_filename + " && " + \
135 "sf write " + hex(load_addr) + " 0x0 " + hex(load_size) + " && " + \
/openbmc/linux/arch/mips/include/asm/octeon/
H A Dcvmx-pow.h1261 cvmx_pow_load_addr_t load_addr; in cvmx_pow_get_current_tag() local
1265 load_addr.u64 = 0; in cvmx_pow_get_current_tag()
1266 load_addr.sstatus.mem_region = CVMX_IO_SEG; in cvmx_pow_get_current_tag()
1267 load_addr.sstatus.is_io = 1; in cvmx_pow_get_current_tag()
1270 load_addr.sstatus.get_cur = 1; in cvmx_pow_get_current_tag()
1288 cvmx_pow_load_addr_t load_addr; in cvmx_pow_get_current_wqp() local
1291 load_addr.u64 = 0; in cvmx_pow_get_current_wqp()
1292 load_addr.sstatus.mem_region = CVMX_IO_SEG; in cvmx_pow_get_current_wqp()
1293 load_addr.sstatus.is_io = 1; in cvmx_pow_get_current_wqp()
1296 load_addr.sstatus.get_cur = 1; in cvmx_pow_get_current_wqp()
[all …]
/openbmc/linux/tools/perf/util/
H A Dgenelf.c103 unsigned long load_addr __maybe_unused, in gen_build_id()
127 unsigned long load_addr __maybe_unused, in gen_build_id()
140 gen_build_id(struct buildid_note *note, unsigned long load_addr, const void *code, size_t csize) in gen_build_id() argument
152 EVP_DigestUpdate(mdctx, &load_addr, sizeof(load_addr)); in gen_build_id()
247 jit_write_elf(int fd, uint64_t load_addr, const char *sym, in jit_write_elf() argument
481 gen_build_id(&bnote, load_addr, code, csize); in jit_write_elf()
509 retval = jit_add_debug_info(e, load_addr, debug, nr_debug_entries); in jit_write_elf()
/openbmc/qemu/include/hw/
H A Dloader-fit.h34 const void *match_data, hwaddr *load_addr);
36 hwaddr *load_addr, hwaddr *entry_addr);
/openbmc/u-boot/doc/
H A DREADME.qemu-mips115 setenv load_kernel_hda 'ide res; diskboot ${load_addr} 0:2'
116 setenv load_kernel_ext2 'ide res; ext2load ide 0:2 ${load_addr} /boot/uImage'
117 setenv load_kernel_tftp 'tftp ${load_addr} /qemu_mips/uImage'
118 setenv boot_ext2_ext2 'run load_rd_ext2; run load_kernel_ext2; run addmisc; bootm ${load_addr}'
120 setenv boot_ext2_hda 'run load_rd_ext2; run load_kernel_hda; run addmisc; bootm ${load_addr}'
121 setenv boot_ext2_tftp 'run load_rd_ext2; run load_kernel_tftp; run addmisc; bootm ${load_addr}'
122 setenv boot_tftp_hda 'run load_rd_tftp; run load_kernel_hda; run addmisc; bootm ${load_addr}'
123 setenv boot_tftp_ext2 'run load_rd_tftp; run load_kernel_ext2; run addmisc; bootm ${load_addr}'
125 setenv boot_tftp_tftp 'run load_rd_tftp; run load_kernel_tftp; run addmisc; bootm ${load_addr}'
/openbmc/u-boot/arch/arm/mach-imx/
H A Dspl.c251 if (!imx_hab_authenticate_image(spl_image->load_addr, in jump_to_image_no_args()
275 void board_spl_fit_post_load(ulong load_addr, size_t length) in board_spl_fit_post_load() argument
279 if (imx_hab_authenticate_image(load_addr, in board_spl_fit_post_load()
/openbmc/u-boot/test/
H A Dcompression.c466 const ulong load_addr = 0x1000; in run_bootm_test() local
474 err = bootm_decomp_image(comp_type, load_addr, image_start, in run_bootm_test()
475 IH_TYPE_KERNEL, map_sysmem(load_addr, 0), in run_bootm_test()
479 err = bootm_decomp_image(comp_type, load_addr, image_start, in run_bootm_test()
480 IH_TYPE_KERNEL, map_sysmem(load_addr, 0), in run_bootm_test()
490 err = bootm_decomp_image(comp_type, load_addr, image_start, in run_bootm_test()
491 IH_TYPE_KERNEL, map_sysmem(load_addr, 0), in run_bootm_test()
/openbmc/qemu/hw/openrisc/
H A Dopenrisc_sim.c294 hwaddr load_addr; in openrisc_sim_init() local
335 load_addr = openrisc_load_kernel(ram_size, kernel_filename, in openrisc_sim_init()
337 if (load_addr > 0) { in openrisc_sim_init()
339 load_addr = openrisc_load_initrd(state->fdt, in openrisc_sim_init()
341 load_addr, machine->ram_size); in openrisc_sim_init()
343 boot_info.fdt_addr = openrisc_load_fdt(state->fdt, load_addr, in openrisc_sim_init()
/openbmc/linux/arch/mips/kernel/
H A Dvpe.c136 if (v->load_addr) in release_vpe()
137 release_progmem(v->load_addr); in release_vpe()
643 v->load_addr = alloc_progmem(mod.mem[MOD_TEXT].size); in vpe_elfload()
644 if (!v->load_addr) in vpe_elfload()
647 pr_info("VPE loader: loading to %p\n", v->load_addr); in vpe_elfload()
656 dest = v->load_addr + sechdrs[i].sh_entsize; in vpe_elfload()
730 flush_icache_range((unsigned long)v->load_addr, in vpe_elfload()
731 (unsigned long)v->load_addr + v->len); in vpe_elfload()
776 release_progmem(v->load_addr); in vpe_open()
787 v->load_addr = NULL; in vpe_open()

123456