diff options
author | Vivek Goyal <vgoyal@in.ibm.com> | 2005-08-04 17:48:46 +0530 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2006-07-27 09:37:48 -0600 |
commit | e2ffd1d4de78a165c8b9a4540378d5783cc9109b (patch) | |
tree | 59de647a0376c0a8d73d84ed0511750478b6c195 /kexec/kexec.c | |
parent | 7193ca3c24f57f3f649d74832c1abf2c6640ebb9 (diff) |
elf headers fill virtual address for linearly mapped region
o For i386, Physical memory upto 896MB is linearly mapped. Hence virtual
addresses for linearly mapped region are known.
o This patch sets the appropriate virtual addresses in core headers for
linearly mapped region.
o Enables gdb to debug linearly mapped region without any special user space
utility. Otherwise, capture tools first need to analyze the core image (Read
page tables and/or vm areas) and determine virtual addresses for memory
chunks and then regenerate the elf headers suitable for debugging with gdb.
o Some cases like 4G/4G split deviate from 896MB linearly mapped region and
might have different value for PAGE_OFFSET. Probably its a good idea to
export the linear region from kernel and use that instead of hard coding it.
Signed-off-by: Vivek Goyal <vgoyal@in.ibm.com>
Signed-off-by: Maneesh Soni <maneesh@in.ibm.com>
Diffstat (limited to 'kexec/kexec.c')
0 files changed, 0 insertions, 0 deletions