Home
last modified time | relevance | path

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

/linux-4.4.14/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-4.4.14/arch/tile/kernel/
Dmachine_kexec.c266 void *reboot_code_buffer; in machine_kexec() local
283 reboot_code_buffer = page_address(image->control_code_page); in machine_kexec()
284 BUG_ON(reboot_code_buffer == NULL); in machine_kexec()
285 ptep = virt_to_pte(NULL, (unsigned long)reboot_code_buffer); in machine_kexec()
287 memcpy(reboot_code_buffer, relocate_new_kernel, in machine_kexec()
290 (unsigned long) reboot_code_buffer, in machine_kexec()
291 (unsigned long) reboot_code_buffer + relocate_new_kernel_size); in machine_kexec()
296 rnk = reboot_code_buffer; in machine_kexec()
297 (*rnk)(image->head, reboot_code_buffer, image->start); in machine_kexec()
/linux-4.4.14/arch/mips/kernel/
Dmachine_kexec.c64 unsigned long reboot_code_buffer; in machine_kexec() local
68 reboot_code_buffer = in machine_kexec()
81 memcpy((void*)reboot_code_buffer, relocate_new_kernel, in machine_kexec()
108 relocated_kexec_smp_wait = reboot_code_buffer + in machine_kexec()
113 ((noretfun_t) reboot_code_buffer)(); in machine_kexec()
/linux-4.4.14/arch/m68k/kernel/
Dmachine_kexec.c39 void *reboot_code_buffer; in machine_kexec() local
42 reboot_code_buffer = page_address(image->control_code_page); in machine_kexec()
44 memcpy(reboot_code_buffer, relocate_new_kernel, in machine_kexec()
55 ((relocate_kernel_t) reboot_code_buffer)(image->head & PAGE_MASK, in machine_kexec()
/linux-4.4.14/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-4.4.14/arch/arm/kernel/
Dmachine_kexec.c150 void *reboot_code_buffer; in machine_kexec() local
165 reboot_code_buffer = page_address(image->control_code_page); in machine_kexec()
176 reboot_entry = fncpy(reboot_code_buffer, in machine_kexec()
180 (reboot_code_buffer_phys - (unsigned long)reboot_code_buffer); in machine_kexec()
/linux-4.4.14/arch/s390/kernel/
Dmachine_kexec.c190 void *reboot_code_buffer; in machine_kexec_prepare() local
204 reboot_code_buffer = (void *) page_to_phys(image->control_code_page); in machine_kexec_prepare()
207 memcpy(reboot_code_buffer, relocate_kernel, relocate_kernel_len); in machine_kexec_prepare()