kexec.h 693 B

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