| 1 |
/* SPDX-License-Identifier: GPL-2.0 */ |
| 2 |
#ifndef _ASM_M68K_KEXEC_H |
| 3 |
#define _ASM_M68K_KEXEC_H |
| 4 |
|
| 5 |
#ifdef CONFIG_KEXEC_CORE |
| 6 |
|
| 7 |
/* Maximum physical address we can use pages from */ |
| 8 |
#define KEXEC_SOURCE_MEMORY_LIMIT (-1UL) |
| 9 |
/* Maximum address we can reach in physical address mode */ |
| 10 |
#define KEXEC_DESTINATION_MEMORY_LIMIT (-1UL) |
| 11 |
/* Maximum address we can use for the control code buffer */ |
| 12 |
#define KEXEC_CONTROL_MEMORY_LIMIT (-1UL) |
| 13 |
|
| 14 |
#define KEXEC_CONTROL_PAGE_SIZE 4096 |
| 15 |
|
| 16 |
#define KEXEC_ARCH KEXEC_ARCH_68K |
| 17 |
|
| 18 |
#ifndef __ASSEMBLER__ |
| 19 |
|
| 20 |
static inline void crash_setup_regs(struct pt_regs *newregs, |
| 21 |
struct pt_regs *oldregs) |
| 22 |
{ |
| 23 |
/* Dummy implementation for now */ |
| 24 |
} |
| 25 |
|
| 26 |
#endif /* __ASSEMBLER__ */ |
| 27 |
|
| 28 |
#endif /* CONFIG_KEXEC_CORE */ |
| 29 |
|
| 30 |
#endif /* _ASM_M68K_KEXEC_H */ |