fadump.h (1724c7c0c9494dcbdd7f630f29e1e8427cb231d1) fadump.h (6fcd6baa90aeec9dcbe30786e15c125bf50503b2)
1/*
2 * Firmware Assisted dump header file.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *

--- 195 unchanged lines hidden (view full) ---

204};
205
206extern int is_fadump_boot_memory_area(u64 addr, ulong size);
207extern int early_init_dt_scan_fw_dump(unsigned long node,
208 const char *uname, int depth, void *data);
209extern int fadump_reserve_mem(void);
210extern int setup_fadump(void);
211extern int is_fadump_active(void);
1/*
2 * Firmware Assisted dump header file.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *

--- 195 unchanged lines hidden (view full) ---

204};
205
206extern int is_fadump_boot_memory_area(u64 addr, ulong size);
207extern int early_init_dt_scan_fw_dump(unsigned long node,
208 const char *uname, int depth, void *data);
209extern int fadump_reserve_mem(void);
210extern int setup_fadump(void);
211extern int is_fadump_active(void);
212extern int should_fadump_crash(void);
212extern void crash_fadump(struct pt_regs *, const char *);
213extern void fadump_cleanup(void);
214
215#else /* CONFIG_FA_DUMP */
216static inline int is_fadump_active(void) { return 0; }
213extern void crash_fadump(struct pt_regs *, const char *);
214extern void fadump_cleanup(void);
215
216#else /* CONFIG_FA_DUMP */
217static inline int is_fadump_active(void) { return 0; }
218static inline int should_fadump_crash(void) { return 0; }
217static inline void crash_fadump(struct pt_regs *regs, const char *str) { }
218#endif
219#endif
219static inline void crash_fadump(struct pt_regs *regs, const char *str) { }
220#endif
221#endif