summaryrefslogtreecommitdiff
path: root/kexec/crashdump.h
diff options
context:
space:
mode:
Diffstat (limited to 'kexec/crashdump.h')
-rw-r--r--kexec/crashdump.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/kexec/crashdump.h b/kexec/crashdump.h
new file mode 100644
index 0000000..682dd53
--- /dev/null
+++ b/kexec/crashdump.h
@@ -0,0 +1,9 @@
+#ifndef CRASHDUMP_H
+#define CRASHDUMP_H
+
+extern int get_crash_notes_per_cpu(int cpu, uint64_t *addr);
+
+/* Need to find a better way to determine per cpu notes section size. */
+#define MAX_NOTE_BYTES 1024
+
+#endif /* CRASHDUMP_H */