4 /* Kdump kernel runs at 32 MB, change at your peril. */
5 #define KDUMP_KERNELBASE 0x2000000
7 /* How many bytes to reserve at zero for kdump. The reserve limit should
8 * be greater or equal to the trampoline's end address.
9 * Reserve to the end of the FWNMI area, see head_64.S */
10 #define KDUMP_RESERVE_LIMIT 0x10000 /* 64K */
13 * Used to differentiate between relocatable kdump kernel and other
16 #define KDUMP_SIGNATURE 0xfeed1234
18 #ifdef CONFIG_CRASH_DUMP
20 #define KDUMP_TRAMPOLINE_START 0x0100
21 #define KDUMP_TRAMPOLINE_END 0x3000
23 #define KDUMP_MIN_TCE_ENTRIES 2048
25 #endif /* CONFIG_CRASH_DUMP */
29 extern unsigned long __kdump_flag;
31 #if defined(CONFIG_CRASH_DUMP) && !defined(CONFIG_RELOCATABLE)
32 extern void reserve_kdump_trampoline(void);
33 extern void setup_kdump_trampoline(void);
35 /* !CRASH_DUMP || RELOCATABLE */
36 static inline void reserve_kdump_trampoline(void) { ; }
37 static inline void setup_kdump_trampoline(void) { ; }
40 #endif /* __ASSEMBLY__ */
42 #endif /* __PPC64_KDUMP_H */