Add three new files, kexec.h, machine_kexec.c and relocate_kernel.S to the arm64 architecture that add support for the kexec re-boot mechanism (CONFIG_KEXEC) on arm64 platforms.
Showing the changes to include/uapi (1 of 6 files). Show all
Unified · Split
| @@ -39,6 +39,7 @@ · 38 unmodified lines | |||
| 39 | #define KEXEC_ARCH_SH (42 << 16) | 39 | #define KEXEC_ARCH_SH (42 << 16) |
| 40 | #define KEXEC_ARCH_MIPS_LE (10 << 16) | 40 | #define KEXEC_ARCH_MIPS_LE (10 << 16) |
| 41 | #define KEXEC_ARCH_MIPS ( 8 << 16) | 41 | #define KEXEC_ARCH_MIPS ( 8 << 16) |
| 42 | #define KEXEC_ARCH_AARCH64 (183 << 16) | ||
| 42 | 43 | ||
| 43 | /* The artificial cap on the number of segments passed to kexec_load. */ | 44 | /* The artificial cap on the number of segments passed to kexec_load. */ |
| 44 | #define KEXEC_SEGMENT_MAX 16 | 45 | #define KEXEC_SEGMENT_MAX 16 |