mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 00:43:12 +00:00
This patch adds support for loading a kexec on panic (kdump) kernel usning new system call. It prepares ELF headers for memory areas to be dumped and for saved cpu registers. Also prepares the memory map for second kernel and limits its boot to reserved areas only. Signed-off-by: Vivek Goyal <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: Michael Kerrisk <[email protected]> Cc: Yinghai Lu <[email protected]> Cc: Eric Biederman <[email protected]> Cc: H. Peter Anvin <[email protected]> Cc: Matthew Garrett <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: Dave Young <[email protected]> Cc: WANG Chao <[email protected]> Cc: Baoquan He <[email protected]> Cc: Andy Lutomirski <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
10 lines
265 B
C
10 lines
265 B
C
#ifndef _ASM_X86_CRASH_H
|
|
#define _ASM_X86_CRASH_H
|
|
|
|
int crash_load_segments(struct kimage *image);
|
|
int crash_copy_backup_region(struct kimage *image);
|
|
int crash_setup_memmap_entries(struct kimage *image,
|
|
struct boot_params *params);
|
|
|
|
#endif /* _ASM_X86_CRASH_H */
|