From ceb04ae1223ba5cdd40df744aa73a32b2cc7d879 Mon Sep 17 00:00:00 2001 From: Huang Ying Date: Wed, 29 Oct 2008 11:24:25 +0800 Subject: kexec jump support for kexec-tools To support memory backup/restore an option named --load-preserve-context is added to kexec. When it is specified toggether with --mem-max, most segments for crash dump support are loaded, and the memory range between mem_min to mem_max which has no segments loaded are loaded as backup segments. To support jump back from kexeced, options named --load-jump-back-helper and --entry are added to load a helper image with specified entry to jump back. Signed-off-by: Huang Ying Signed-off-by: Simon Horman --- purgatory/include/purgatory.h | 1 + 1 file changed, 1 insertion(+) (limited to 'purgatory/include') diff --git a/purgatory/include/purgatory.h b/purgatory/include/purgatory.h index 79ed5bf..ed50dc4 100644 --- a/purgatory/include/purgatory.h +++ b/purgatory/include/purgatory.h @@ -2,6 +2,7 @@ #define PURGATORY_H void putchar(int ch); +void sprintf(char *buffer, const char *fmt, ...); void printf(const char *fmt, ...); void setup_arch(void); void post_verification_setup_arch(void); -- cgit