summaryrefslogtreecommitdiff
path: root/kexec/crashdump.h
diff options
context:
space:
mode:
authorSimon Horman <horms@verge.net.au>2010-12-21 16:52:16 +0900
committerSimon Horman <horms@verge.net.au>2010-12-21 16:52:16 +0900
commitc0f83f3221a5af12f1d02c3d660170fa8f2233a1 (patch)
tree268e38f9ba8fa3a5567dd12d22c09fccbf73bd68 /kexec/crashdump.h
parentcca4fa3921d549df984ee429756c4d6e882e5a74 (diff)
mips: kern_vaddr_start is now in crash_elf_info
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/crashdump.h')
-rw-r--r--kexec/crashdump.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/kexec/crashdump.h b/kexec/crashdump.h
index eccdb9f..060bb88 100644
--- a/kexec/crashdump.h
+++ b/kexec/crashdump.h
@@ -35,6 +35,13 @@ struct crash_elf_info {
int (*get_note_info)(int cpu, uint64_t *addr, uint64_t *len);
};
+typedef int(*crash_create_elf_headers_func)(struct kexec_info *info,
+ struct crash_elf_info *elf_info,
+ struct memory_range *range,
+ int ranges,
+ void **buf, unsigned long *size,
+ unsigned long align);
+
int crash_create_elf32_headers(struct kexec_info *info,
struct crash_elf_info *elf_info,
struct memory_range *range, int ranges,