mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-22 20:23:57 +08:00
24ee25a6da
Pull x86 kdump updates from Ingo Molnar: "This solves a kdump artifact where encrypted memory contents are dumped, instead of unencrypted ones. The solution also happens to simplify the kdump code, to everyone's delight" * 'x86-kdump-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/crash: Align function arguments on opening braces x86/kdump: Remove the backup region handling x86/kdump: Always reserve the low 1M when the crashkernel option is specified x86/crash: Add a forward declaration of struct kimage
19 lines
436 B
C
19 lines
436 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _ASM_X86_CRASH_H
|
|
#define _ASM_X86_CRASH_H
|
|
|
|
struct kimage;
|
|
|
|
int crash_load_segments(struct kimage *image);
|
|
int crash_setup_memmap_entries(struct kimage *image,
|
|
struct boot_params *params);
|
|
void crash_smp_send_stop(void);
|
|
|
|
#ifdef CONFIG_KEXEC_CORE
|
|
void __init crash_reserve_low_1M(void);
|
|
#else
|
|
static inline void __init crash_reserve_low_1M(void) { }
|
|
#endif
|
|
|
|
#endif /* _ASM_X86_CRASH_H */
|