blob: 88eadd08ad708b7f8ee1e971659b4b7dec78b792 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _ASM_X86_CRASH_H
3#define _ASM_X86_CRASH_H
4
5struct kimage;
6
7int crash_load_segments(struct kimage *image);
8int crash_copy_backup_region(struct kimage *image);
9int crash_setup_memmap_entries(struct kimage *image,
10 struct boot_params *params);
11void crash_smp_send_stop(void);
12
13#ifdef CONFIG_KEXEC_CORE
14void __init crash_reserve_low_1M(void);
15#else
16static inline void __init crash_reserve_low_1M(void) { }
17#endif
18
19#endif /* _ASM_X86_CRASH_H */