Home
last modified time | relevance | path

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

/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()
/arch/mips/kernel/
Dmachine_kexec.c48 unsigned long reboot_code_buffer; in machine_kexec() local
52 reboot_code_buffer = in machine_kexec()
59 memcpy((void*)reboot_code_buffer, relocate_new_kernel, in machine_kexec()
84 ((noretfun_t) reboot_code_buffer)(); in machine_kexec()
/arch/arm/kernel/
Dmachine_kexec.c111 void *reboot_code_buffer; in machine_kexec() local
119 reboot_code_buffer = page_address(image->control_code_page); in machine_kexec()
128 memcpy(reboot_code_buffer, in machine_kexec()
132 flush_icache_range((unsigned long) reboot_code_buffer, in machine_kexec()
133 (unsigned long) reboot_code_buffer + KEXEC_CONTROL_PAGE_SIZE); in machine_kexec()
/arch/tile/kernel/
Dmachine_kexec.c253 void *reboot_code_buffer; in machine_kexec() local
269 reboot_code_buffer = vmap(&image->control_code_page, 1, 0, in machine_kexec()
271 memcpy(reboot_code_buffer, relocate_new_kernel, in machine_kexec()
274 (unsigned long) reboot_code_buffer, in machine_kexec()
275 (unsigned long) reboot_code_buffer + relocate_new_kernel_size); in machine_kexec()
280 rnk = reboot_code_buffer; in machine_kexec()
281 (*rnk)(image->head, reboot_code_buffer, image->start); in machine_kexec()
/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()
/arch/s390/kernel/
Dmachine_kexec.c154 void *reboot_code_buffer; in machine_kexec_prepare() local
168 reboot_code_buffer = (void *) page_to_phys(image->control_code_page); in machine_kexec_prepare()
171 memcpy(reboot_code_buffer, relocate_kernel, relocate_kernel_len); in machine_kexec_prepare()