Home
last modified time | relevance | path

Searched refs:reboot_code_buffer (Results 1 – 7 of 7) sorted by relevance

/Linux-v4.19/arch/powerpc/kernel/
Dmachine_kexec_32.c21 unsigned long reboot_code_buffer,
36 unsigned long reboot_code_buffer, reboot_code_buffer_phys; in default_machine_kexec() local
49 reboot_code_buffer = in default_machine_kexec()
51 reboot_code_buffer_phys = virt_to_phys((void *)reboot_code_buffer); in default_machine_kexec()
54 memcpy((void *)reboot_code_buffer, relocate_new_kernel, in default_machine_kexec()
57 flush_icache_range(reboot_code_buffer, in default_machine_kexec()
58 reboot_code_buffer + KEXEC_CONTROL_PAGE_SIZE); in default_machine_kexec()
62 rnk = (relocate_new_kernel_t) reboot_code_buffer; in default_machine_kexec()
/Linux-v4.19/arch/m68k/kernel/
Dmachine_kexec.c40 void *reboot_code_buffer; in machine_kexec() local
43 reboot_code_buffer = page_address(image->control_code_page); in machine_kexec()
45 memcpy(reboot_code_buffer, relocate_new_kernel, in machine_kexec()
56 ((relocate_kernel_t) reboot_code_buffer)(image->head & PAGE_MASK, in machine_kexec()
/Linux-v4.19/arch/sh/kernel/
Dmachine_kexec.c28 unsigned long reboot_code_buffer,
76 unsigned long reboot_code_buffer; in machine_kexec() local
108 reboot_code_buffer = in machine_kexec()
112 memcpy((void *)reboot_code_buffer, relocate_new_kernel, in machine_kexec()
121 rnk = (relocate_new_kernel_t) reboot_code_buffer; in machine_kexec()
122 (*rnk)(page_list, reboot_code_buffer, in machine_kexec()
/Linux-v4.19/arch/mips/kernel/
Dmachine_kexec.c87 unsigned long reboot_code_buffer; in machine_kexec() local
91 reboot_code_buffer = in machine_kexec()
104 memcpy((void*)reboot_code_buffer, relocate_new_kernel, in machine_kexec()
131 relocated_kexec_smp_wait = reboot_code_buffer + in machine_kexec()
136 ((noretfun_t) reboot_code_buffer)(); in machine_kexec()
/Linux-v4.19/arch/arm64/kernel/
Dmachine_kexec.c150 void *reboot_code_buffer; in machine_kexec() local
162 reboot_code_buffer = phys_to_virt(reboot_code_buffer_phys); in machine_kexec()
171 reboot_code_buffer); in machine_kexec()
182 memcpy(reboot_code_buffer, arm64_relocate_new_kernel, in machine_kexec()
186 __flush_dcache_area(reboot_code_buffer, arm64_relocate_new_kernel_size); in machine_kexec()
194 __flush_icache_range((uintptr_t)reboot_code_buffer, in machine_kexec()
/Linux-v4.19/arch/arm/kernel/
Dmachine_kexec.c162 void *reboot_code_buffer; in machine_kexec() local
174 reboot_code_buffer = page_address(image->control_code_page); in machine_kexec()
184 reboot_entry = fncpy(reboot_code_buffer, in machine_kexec()
/Linux-v4.19/arch/s390/kernel/
Dmachine_kexec.c220 void *reboot_code_buffer; in machine_kexec_prepare() local
230 reboot_code_buffer = (void *) page_to_phys(image->control_code_page); in machine_kexec_prepare()
233 memcpy(reboot_code_buffer, relocate_kernel, relocate_kernel_len); in machine_kexec_prepare()