kexec.h 827 B

123456789101112131415161718192021222324252627282930313233
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef _ASM_PARISC_KEXEC_H
  3. #define _ASM_PARISC_KEXEC_H
  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_PARISC
  12. #define ARCH_HAS_KIMAGE_ARCH
  13. #ifndef __ASSEMBLY__
  14. struct kimage_arch {
  15. unsigned long initrd_start;
  16. unsigned long initrd_end;
  17. unsigned long cmdline;
  18. };
  19. static inline void crash_setup_regs(struct pt_regs *newregs,
  20. struct pt_regs *oldregs)
  21. {
  22. /* Dummy implementation for now */
  23. }
  24. #endif /* __ASSEMBLY__ */
  25. #endif /* _ASM_PARISC_KEXEC_H */