fadump-internal.h (c6c5b14dac0d1bd0da8b4d1d3b77f18eb9085fcb) | fadump-internal.h (78d5cc15fb7d1b2683f0baf418a9a870c02319fb) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0-or-later */ 2/* 3 * Firmware-Assisted Dump internal code. 4 * 5 * Copyright 2011, Mahesh Salgaonkar, IBM Corporation. 6 * Copyright 2019, Hari Bathini, IBM Corporation. 7 */ 8 --- 142 unchanged lines hidden (view full) --- 151 int (*fadump_unregister)(struct fw_dump *fadump_conf); 152 int (*fadump_invalidate)(struct fw_dump *fadump_conf); 153 void (*fadump_cleanup)(struct fw_dump *fadump_conf); 154 int (*fadump_process)(struct fw_dump *fadump_conf); 155 void (*fadump_region_show)(struct fw_dump *fadump_conf, 156 struct seq_file *m); 157 void (*fadump_trigger)(struct fadump_crash_info_header *fdh, 158 const char *msg); | 1/* SPDX-License-Identifier: GPL-2.0-or-later */ 2/* 3 * Firmware-Assisted Dump internal code. 4 * 5 * Copyright 2011, Mahesh Salgaonkar, IBM Corporation. 6 * Copyright 2019, Hari Bathini, IBM Corporation. 7 */ 8 --- 142 unchanged lines hidden (view full) --- 151 int (*fadump_unregister)(struct fw_dump *fadump_conf); 152 int (*fadump_invalidate)(struct fw_dump *fadump_conf); 153 void (*fadump_cleanup)(struct fw_dump *fadump_conf); 154 int (*fadump_process)(struct fw_dump *fadump_conf); 155 void (*fadump_region_show)(struct fw_dump *fadump_conf, 156 struct seq_file *m); 157 void (*fadump_trigger)(struct fadump_crash_info_header *fdh, 158 const char *msg); |
159 int (*fadump_max_boot_mem_rgns)(void); |
|
159}; 160 161/* Helper functions */ 162s32 __init fadump_setup_cpu_notes_buf(u32 num_cpus); 163void fadump_free_cpu_notes_buf(void); 164u32 *__init fadump_regs_to_elf_notes(u32 *buf, struct pt_regs *regs); 165void __init fadump_update_elfcore_header(char *bufp); | 160}; 161 162/* Helper functions */ 163s32 __init fadump_setup_cpu_notes_buf(u32 num_cpus); 164void fadump_free_cpu_notes_buf(void); 165u32 *__init fadump_regs_to_elf_notes(u32 *buf, struct pt_regs *regs); 166void __init fadump_update_elfcore_header(char *bufp); |
166bool is_fadump_boot_mem_contiguous(void); | |
167bool is_fadump_reserved_mem_contiguous(void); 168 169#else /* !CONFIG_PRESERVE_FA_DUMP */ 170 171/* Firmware-assisted dump configuration details. */ 172struct fw_dump { 173 u64 boot_mem_top; 174 u64 dump_active; --- 19 unchanged lines hidden --- | 167bool is_fadump_reserved_mem_contiguous(void); 168 169#else /* !CONFIG_PRESERVE_FA_DUMP */ 170 171/* Firmware-assisted dump configuration details. */ 172struct fw_dump { 173 u64 boot_mem_top; 174 u64 dump_active; --- 19 unchanged lines hidden --- |