summaryrefslogtreecommitdiffstats
path: root/kexec/arch/arm/crashdump-arm.h
blob: bbdf8bf9de58eb5d7fc75c6bd03bf13fd6f36797 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef CRASHDUMP_ARM_H
#define CRASHDUMP_ARM_H

#ifdef __cplusplus
extern "C" {
#endif

#define COMMAND_LINE_SIZE	1024
#define DEFAULT_PAGE_OFFSET		(0xc0000000)
#define KVBASE_MASK	(0x1ffffff)
#define CRASH_MAX_MEMORY_RANGES	32
#define ARM_MAX_VIRTUAL		UINT32_MAX


extern struct memory_ranges usablemem_rgns;
extern struct memory_range crash_kernel_mem;
extern struct memory_range elfcorehdr_mem;

struct kexec_info;

extern int load_crashdump_segments(struct kexec_info *, char *);

#ifdef __cplusplus
}
#endif

#endif /* CRASHDUMP_ARM_H */