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