fadump.h (0cce284537fb42d9c28b9b31038ffc9b464555f5) fadump.h (22bd0177bd08677a8888f4d1d8361b0326f9119b)
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 *

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

68/* Utility macros */
69#define SKIP_TO_NEXT_CPU(reg_entry) \
70({ \
71 while (be64_to_cpu(reg_entry->reg_id) != REG_ID("CPUEND")) \
72 reg_entry++; \
73 reg_entry++; \
74})
75
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 *

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

68/* Utility macros */
69#define SKIP_TO_NEXT_CPU(reg_entry) \
70({ \
71 while (be64_to_cpu(reg_entry->reg_id) != REG_ID("CPUEND")) \
72 reg_entry++; \
73 reg_entry++; \
74})
75
76extern int crashing_cpu;
77
76/* Kernel Dump section info */
77struct fadump_section {
78 __be32 request_flag;
79 __be16 source_data_type;
80 __be16 error_flags;
81 __be64 source_address;
82 __be64 source_len;
83 __be64 bytes_dumped;

--- 130 unchanged lines hidden ---
78/* Kernel Dump section info */
79struct fadump_section {
80 __be32 request_flag;
81 __be16 source_data_type;
82 __be16 error_flags;
83 __be64 source_address;
84 __be64 source_len;
85 __be64 bytes_dumped;

--- 130 unchanged lines hidden ---