summaryrefslogtreecommitdiff
path: root/kexec/arch/arm64/iomem.h
diff options
context:
space:
mode:
authorAKASHI Takahiro <takahiro.akashi@linaro.org>2017-05-17 14:51:46 +0900
committerSimon Horman <horms@verge.net.au>2017-05-22 13:35:48 +0200
commit0bd5219da953639276cd17e067c030ac97feca97 (patch)
treeba51819cbe51275e167cffb92530a316ef0b778b /kexec/arch/arm64/iomem.h
parentc0672c93edcb5bb32800f8d48afa05861ef32a79 (diff)
arm64: kdump: add elf core header segment
Elf core header contains the information necessary for the coredump of the 1st kernel, including its physcal memory layout as well as cpu register states at the panic. The segment is allocated inside the reserved memory of crash dump kernel. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Tested-by: David Woodhouse <dwmw@amazon.co.uk> Tested-by: Pratyush Anand <panand@redhat.com> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/arch/arm64/iomem.h')
-rw-r--r--kexec/arch/arm64/iomem.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/kexec/arch/arm64/iomem.h b/kexec/arch/arm64/iomem.h
index 20cda87..d4864bb 100644
--- a/kexec/arch/arm64/iomem.h
+++ b/kexec/arch/arm64/iomem.h
@@ -2,6 +2,8 @@
#define IOMEM_H
#define SYSTEM_RAM "System RAM\n"
+#define KERNEL_CODE "Kernel code\n"
+#define KERNEL_DATA "Kernel data\n"
#define CRASH_KERNEL "Crash kernel\n"
#define IOMEM_RESERVED "reserved\n"