summaryrefslogtreecommitdiff
path: root/kexec/crashdump.h
diff options
context:
space:
mode:
authorMagnus Damm <magnus@valinux.co.jp>2006-11-22 00:02:47 +0900
committerSimon Horman <horms@verge.net.au>2006-11-27 12:25:13 +0900
commitf7d547f412f0f0b363240c2261ed3ec89b828689 (patch)
tree814175da6d5e4332f772b11d8fb42b711ac0a785 /kexec/crashdump.h
parent5ce4f874087d0981479e841e9c366cf55e67d985 (diff)
kexec-tools: Introduce crashdump-xen.c and Xen support V2
kexec-tools: Introduce crashdump-xen.c and Xen support V2 This patch adds the new file crashdump-xen.c that implements Xen support. The Xen support is not complete yet in the sense that a special program header for the hypervisor isn't created. Crash notes for physical cpus are created so basic support is at least provided by this patch. Version 2 of this patch includes a cleaner implementation for crashdump-elf.c together with a bugfix for xen_get_nr_phys_cpus(). Signed-off-by: Magnus Damm <magnus@valinux.co.jp> Removed trailing whitespace Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/crashdump.h')
-rw-r--r--kexec/crashdump.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/kexec/crashdump.h b/kexec/crashdump.h
index 4dbecf8..10cffe0 100644
--- a/kexec/crashdump.h
+++ b/kexec/crashdump.h
@@ -34,4 +34,8 @@ int crash_create_elf64_headers(struct kexec_info *info,
struct memory_range *range, int ranges,
void **buf, unsigned long *size);
+int xen_present(void);
+int xen_get_nr_phys_cpus(void);
+int xen_get_note(int cpu, uint64_t *addr, uint64_t *len);
+
#endif /* CRASHDUMP_H */