kexec.h 732 B

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