kexec.h (1df45f8a9fea5a7513bd1bad98604ce1fbefcaaf) | kexec.h (809a11eea8e8c80491e3ba3a286af25409c072d5) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * Copyright (C) 2019 FORTH-ICS/CARV 4 * Nick Kossifidis <mick@ics.forth.gr> 5 */ 6 7#ifndef _RISCV_KEXEC_H 8#define _RISCV_KEXEC_H --- 42 unchanged lines hidden (view full) --- 51 unsigned long fdt_addr, 52 unsigned long hartid, 53 unsigned long va_pa_off); 54 55extern riscv_kexec_method riscv_kexec_norelocate; 56 57#ifdef CONFIG_KEXEC_FILE 58extern const struct kexec_file_ops elf_kexec_ops; | 1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * Copyright (C) 2019 FORTH-ICS/CARV 4 * Nick Kossifidis <mick@ics.forth.gr> 5 */ 6 7#ifndef _RISCV_KEXEC_H 8#define _RISCV_KEXEC_H --- 42 unchanged lines hidden (view full) --- 51 unsigned long fdt_addr, 52 unsigned long hartid, 53 unsigned long va_pa_off); 54 55extern riscv_kexec_method riscv_kexec_norelocate; 56 57#ifdef CONFIG_KEXEC_FILE 58extern const struct kexec_file_ops elf_kexec_ops; |
59extern const struct kexec_file_ops image_kexec_ops; |
|
59 60struct purgatory_info; 61int arch_kexec_apply_relocations_add(struct purgatory_info *pi, 62 Elf_Shdr *section, 63 const Elf_Shdr *relsec, 64 const Elf_Shdr *symtab); 65#define arch_kexec_apply_relocations_add arch_kexec_apply_relocations_add 66 67struct kimage; 68int arch_kimage_file_post_load_cleanup(struct kimage *image); 69#define arch_kimage_file_post_load_cleanup arch_kimage_file_post_load_cleanup 70 71int load_extra_segments(struct kimage *image, unsigned long kernel_start, 72 unsigned long kernel_len, char *initrd, 73 unsigned long initrd_len, char *cmdline, 74 unsigned long cmdline_len); 75#endif 76 77#endif | 60 61struct purgatory_info; 62int arch_kexec_apply_relocations_add(struct purgatory_info *pi, 63 Elf_Shdr *section, 64 const Elf_Shdr *relsec, 65 const Elf_Shdr *symtab); 66#define arch_kexec_apply_relocations_add arch_kexec_apply_relocations_add 67 68struct kimage; 69int arch_kimage_file_post_load_cleanup(struct kimage *image); 70#define arch_kimage_file_post_load_cleanup arch_kimage_file_post_load_cleanup 71 72int load_extra_segments(struct kimage *image, unsigned long kernel_start, 73 unsigned long kernel_len, char *initrd, 74 unsigned long initrd_len, char *cmdline, 75 unsigned long cmdline_len); 76#endif 77 78#endif |