diff options
author | AKASHI Takahiro <takahiro.akashi@linaro.org> | 2017-05-17 14:51:45 +0900 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2017-05-22 13:35:21 +0200 |
commit | c0672c93edcb5bb32800f8d48afa05861ef32a79 (patch) | |
tree | ff57bc5d6da3cb3b86583ca9120a2f6853fb8c98 /kexec/arch/arm64/iomem.h | |
parent | a17234fe94bce780ac36a0ba9bfc9b6e8ffd84f0 (diff) |
arm64: kdump: identify memory regions
The following regions need to be identified for later use:
a) memory regions which belong to the 1st kernel
b) usable memory reserved for crash dump kernel
We go through /proc/iomem to find out a) and b) which are marked
as "System RAM" and "Crash kernel", respectively.
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kexec/arch/arm64/iomem.h b/kexec/arch/arm64/iomem.h index 7fd66eb..20cda87 100644 --- a/kexec/arch/arm64/iomem.h +++ b/kexec/arch/arm64/iomem.h @@ -2,6 +2,7 @@ #define IOMEM_H #define SYSTEM_RAM "System RAM\n" +#define CRASH_KERNEL "Crash kernel\n" #define IOMEM_RESERVED "reserved\n" #endif |