Go to the documentation of this file. 1 #ifndef _UAPILINUX_KEXEC_H
2 #define _UAPILINUX_KEXEC_H
9 #include <linux/types.h>
12 #define KEXEC_ON_CRASH 0x00000001
13 #define KEXEC_PRESERVE_CONTEXT 0x00000002
14 #define KEXEC_ARCH_MASK 0xffff0000
19 #define KEXEC_ARCH_DEFAULT ( 0 << 16)
20 #define KEXEC_ARCH_386 ( 3 << 16)
21 #define KEXEC_ARCH_X86_64 (62 << 16)
22 #define KEXEC_ARCH_PPC (20 << 16)
23 #define KEXEC_ARCH_PPC64 (21 << 16)
24 #define KEXEC_ARCH_IA_64 (50 << 16)
25 #define KEXEC_ARCH_ARM (40 << 16)
26 #define KEXEC_ARCH_S390 (22 << 16)
27 #define KEXEC_ARCH_SH (42 << 16)
28 #define KEXEC_ARCH_MIPS_LE (10 << 16)
29 #define KEXEC_ARCH_MIPS ( 8 << 16)
32 #define KEXEC_SEGMENT_MAX 16