diff options
author | Mohan Kumar M <mohan@in.ibm.com> | 2008-09-30 18:26:21 +0530 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2008-10-08 17:09:39 +1100 |
commit | d9c5b2da1fad4ac9064db4c890e41066f873f6d3 (patch) | |
tree | 7aeb9c44c76c51a3a2075446558b5e39263b8510 /kexec/add_segment.c | |
parent | fc071d2a74ae26d817276e82ab71046e6387cbd1 (diff) |
Relocatable kdump kernel support in kexec-tools
Relocatable kdump kernel support in kexec-tools
This patch adds relocatable kernel support for kdump in the kexec-tools
code. A signature (0xfeed1234) is passed in r6 from panic code to the
purgatory code through kexec_sequence function. The signature is used to
differentiate between relocatable kdump kernel and non-kdump kernels.
The purgatory code compares the signature and sets the __kdump_flag in
head_64.S by using the offset with respect to next kernel load address.
During the boot up, kernel code checks __kdump_flag and if it is set, the
kernel will behave as relocatable kdump kernel.
Signed-off-by: Mohan Kumar M <mohan@in.ibm.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/add_segment.c')
0 files changed, 0 insertions, 0 deletions