Home
last modified time | relevance | path

Searched refs:kernel_entry (Results 1 – 25 of 42) sorted by relevance

12

/openbmc/u-boot/arch/arc/lib/
H A Dbootm.c65 void (*kernel_entry)(int zero, int arch, uint params); in board_jump_and_run() local
67 kernel_entry = (void (*)(int, int, uint))entry; in board_jump_and_run()
69 kernel_entry(zero, arch, params); in board_jump_and_run()
75 ulong kernel_entry; in boot_jump_linux() local
79 kernel_entry = images->ep; in boot_jump_linux()
82 kernel_entry); in boot_jump_linux()
100 board_jump_and_run(kernel_entry, r0, 0, r2); in boot_jump_linux()
/openbmc/qemu/hw/riscv/
H A Dboot.c198 start = kernel_entry + MIN(mem_size / 2, 512 * MiB); in riscv_load_initrd()
224 uint64_t kernel_load_base, kernel_entry; in riscv_load_kernel() local
239 kernel_entry = kernel_load_base; in riscv_load_kernel()
250 kernel_entry = kernel_start_addr; in riscv_load_kernel()
263 kernel_entry = extract64(kernel_entry, 0, 32); in riscv_load_kernel()
267 riscv_load_initrd(machine, kernel_entry); in riscv_load_kernel()
275 return kernel_entry; in riscv_load_kernel()
356 dinfo.next_addr = cpu_to_le32(kernel_entry); in riscv_rom_copy_firmware_info()
361 dinfo.next_addr = cpu_to_le64(kernel_entry); in riscv_rom_copy_firmware_info()
385 uint64_t kernel_entry, in riscv_setup_rom_reset_vec() argument
[all …]
H A Dspike.c204 uint64_t kernel_entry; in spike_board_init() local
306 kernel_entry = riscv_load_kernel(machine, &s->soc[0], in spike_board_init()
314 kernel_entry = 0; in spike_board_init()
325 memmap[SPIKE_MROM].size, kernel_entry, in spike_board_init()
/openbmc/u-boot/arch/arm/lib/
H A Dbootm.c325 void (*kernel_entry)(void *fdt_addr, void *res0, void *res1, in boot_jump_linux() local
329 kernel_entry = (void (*)(void *fdt_addr, void *res0, void *res1, in boot_jump_linux()
333 (ulong) kernel_entry); in boot_jump_linux()
365 void (*kernel_entry)(int zero, int arch, uint params); in boot_jump_linux()
369 kernel_entry = (void (*)(int, int, uint))images->ep; in boot_jump_linux()
371 ulong addr = (ulong)kernel_entry | 1; in boot_jump_linux()
372 kernel_entry = (void *)addr; in boot_jump_linux()
384 "...\n", (ulong) kernel_entry); in boot_jump_linux()
397 secure_ram_addr(_do_nonsec_entry)(kernel_entry, in boot_jump_linux()
401 kernel_entry(0, machid, r2); in boot_jump_linux()
/openbmc/u-boot/board/synopsys/axs10x/
H A Daxs10x.c59 void (*kernel_entry)(int zero, int arch, uint params); in board_jump_and_run() local
61 kernel_entry = (void (*)(int, int, uint))entry; in board_jump_and_run()
65 kernel_entry(zero, arch, params); in board_jump_and_run()
/openbmc/qemu/hw/mips/
H A Dfuloong2e.c97 uint64_t kernel_entry, kernel_high, initrd_size; in load_kernel() local
106 &kernel_entry, NULL, in load_kernel()
162 return kernel_entry; in load_kernel()
219 uint64_t kernel_entry; in mips_fuloong2e_init() local
259 kernel_entry = load_kernel(cpu); in mips_fuloong2e_init()
260 write_bootloader(env, memory_region_get_ram_ptr(bios), kernel_entry); in mips_fuloong2e_init()
H A Dmalta.c622 uint64_t kernel_entry) in bl_setup_gt64120_jump_kernel() argument
690 kernel_entry); in bl_setup_gt64120_jump_kernel()
694 uint64_t kernel_entry) in write_bootloader_nanomips() argument
746 uint64_t kernel_entry) in write_bootloader() argument
871 uint64_t kernel_entry, kernel_high, initrd_size; in load_kernel() local
881 &kernel_entry, NULL, in load_kernel()
892 if (kernel_entry <= USEG_LIMIT) { in load_kernel()
966 return kernel_entry; in load_kernel()
1094 uint64_t kernel_entry, bootloader_run_addr; in mips_malta_init() local
1162 kernel_entry = load_kernel(); in mips_malta_init()
[all …]
H A Dboston.c75 hwaddr kernel_entry; member
326 static void gen_firmware(void *p, hwaddr kernel_entry, hwaddr fdt_addr) in type_init()
358 kernel_entry); in type_init()
410 s->kernel_entry = *entry_addr; in boston_kernel_filter()
789 uint64_t kernel_entry, kernel_high; in boston_mach_init() local
794 &kernel_entry, NULL, &kernel_high, in boston_mach_init()
804 s->kernel_entry = kernel_entry; in boston_mach_init()
829 s->kernel_entry, s->fdt_base); in boston_mach_init()
H A Dloongson3_virt.c113 uint64_t kernel_entry; member
355 uint64_t kernel_entry, kernel_low, kernel_high, initrd_size; in load_kernel() local
359 &kernel_entry, in load_kernel()
399 return kernel_entry; in load_kernel()
415 env->active_tc.PC = loaderparams.kernel_entry; in main_cpu_reset()
635 loaderparams.kernel_entry = load_kernel(env); in mips_loongson3_virt_init()
/openbmc/qemu/pc-bios/optionrom/
H A Dpvh_main.c75 void *kernel_entry, *initrd_addr; in pvh_load_kernel() local
130 bios_cfg_read_entry(&kernel_entry, FW_CFG_KERNEL_ENTRY, 4, fw_cfg_version); in pvh_load_kernel()
132 asm volatile("jmp *%1" : : "b"(&start_info), "c"(kernel_entry)); in pvh_load_kernel()
/openbmc/linux/drivers/firmware/efi/libstub/
H A Dloongarch-stub.c15 extern int kernel_entry;
43 return (unsigned long)&kernel_entry - base + kernel_addr; in kernel_entry_address()
H A Driscv.c87 unsigned long kernel_entry = entrypoint + stext_offset(); in efi_enter_kernel() local
88 jump_kernel_func jump_kernel = (jump_kernel_func)kernel_entry; in efi_enter_kernel()
/openbmc/linux/arch/mips/kernel/
H A Dhead.S79 j kernel_entry
84 NESTED(kernel_entry, 16, sp) # kernel entry point
142 END(kernel_entry)
H A Drelocate.c332 void *kernel_entry = start_kernel; in relocate_kernel() local
426 kernel_entry = RELOCATED(start_kernel); in relocate_kernel()
432 return kernel_entry; in relocate_kernel()
/openbmc/linux/Documentation/translations/zh_CN/arch/loongarch/
H A Dbooting.rst24 内核在 `kernel_entry` 入口处被传递以下参数:
41 u64 kernel_entry /* 内核入口点 */
/openbmc/qemu/include/hw/riscv/
H A Dboot.h57 uint64_t kernel_entry,
62 uint64_t kernel_entry);
/openbmc/qemu/hw/alpha/
H A Ddp264.c63 uint64_t kernel_entry, kernel_low; in clipper_init() local
165 NULL, &kernel_entry, &kernel_low, NULL, NULL, in clipper_init()
172 cpus[0]->env.trap_arg1 = kernel_entry; in clipper_init()
/openbmc/qemu/hw/hppa/
H A Dmachine.c344 uint64_t kernel_entry = 0, kernel_low, kernel_high; in machine_HP_common_init_tail() local
458 NULL, &kernel_entry, &kernel_low, &kernel_high, NULL, in machine_HP_common_init_tail()
461 kernel_entry = linux_kernel_virt_to_phys(NULL, kernel_entry); in machine_HP_common_init_tail()
470 kernel_low, kernel_high, kernel_entry, size / KiB); in machine_HP_common_init_tail()
509 if (!kernel_entry) { in machine_HP_common_init_tail()
514 kernel_entry = machine->boot_config.has_menu ? machine->boot_config.menu : 0; in machine_HP_common_init_tail()
523 cpu[0]->env.gr[25] = kernel_entry; in machine_HP_common_init_tail()
/openbmc/linux/Documentation/arch/loongarch/
H A Dbooting.rst17 The kernel is passed the following arguments on `kernel_entry` :
35 u64 kernel_entry /* Kernel entry point */
/openbmc/linux/arch/loongarch/kernel/
H A Dvmlinux.lds.S27 ENTRY(kernel_entry)
143 _kernel_entry = ABSOLUTE(kernel_entry & PHYSADDR_MASK);
H A Dimage-vars.h11 __efistub_kernel_entry = kernel_entry;
H A Dhead.S44 SYM_CODE_START(kernel_entry) # kernel entry point
113 SYM_CODE_END(kernel_entry)
/openbmc/linux/arch/mips/cavium-octeon/
H A Dsmp.c41 extern void kernel_entry(unsigned long arg1, ...);
197 unsigned long entry = (unsigned long)kernel_entry; in plat_post_relocation()
360 kernel_entry(0, 0, 0); /* set a2 = 0 for secondary core */ in start_after_reset()
/openbmc/qemu/hw/loongarch/
H A Dboot.c176 uint64_t kernel_entry, kernel_low, kernel_high; in load_kernel_info() local
181 &kernel_entry, &kernel_low, in load_kernel_info()
216 return kernel_entry; in load_kernel_info()
/openbmc/linux/Documentation/translations/zh_CN/arch/mips/
H A Dbooting.rst19 会立即跳转到kernel_entry()入口处执行。

12