Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
kexec.h File Reference
#include <linux/types.h>

Go to the source code of this file.

Data Structures

struct  kexec_segment
 

Macros

#define KEXEC_ON_CRASH   0x00000001
 
#define KEXEC_PRESERVE_CONTEXT   0x00000002
 
#define KEXEC_ARCH_MASK   0xffff0000
 
#define KEXEC_ARCH_DEFAULT   ( 0 << 16)
 
#define KEXEC_ARCH_386   ( 3 << 16)
 
#define KEXEC_ARCH_X86_64   (62 << 16)
 
#define KEXEC_ARCH_PPC   (20 << 16)
 
#define KEXEC_ARCH_PPC64   (21 << 16)
 
#define KEXEC_ARCH_IA_64   (50 << 16)
 
#define KEXEC_ARCH_ARM   (40 << 16)
 
#define KEXEC_ARCH_S390   (22 << 16)
 
#define KEXEC_ARCH_SH   (42 << 16)
 
#define KEXEC_ARCH_MIPS_LE   (10 << 16)
 
#define KEXEC_ARCH_MIPS   ( 8 << 16)
 
#define KEXEC_SEGMENT_MAX   16
 

Functions

int kexec_load (void *, size_t, struct kexec_segment *, unsigned long int)
 

Macro Definition Documentation

#define KEXEC_ARCH_386   ( 3 << 16)

Definition at line 20 of file kexec.h.

#define KEXEC_ARCH_ARM   (40 << 16)

Definition at line 25 of file kexec.h.

#define KEXEC_ARCH_DEFAULT   ( 0 << 16)

Definition at line 19 of file kexec.h.

#define KEXEC_ARCH_IA_64   (50 << 16)

Definition at line 24 of file kexec.h.

#define KEXEC_ARCH_MASK   0xffff0000

Definition at line 14 of file kexec.h.

#define KEXEC_ARCH_MIPS   ( 8 << 16)

Definition at line 29 of file kexec.h.

#define KEXEC_ARCH_MIPS_LE   (10 << 16)

Definition at line 28 of file kexec.h.

#define KEXEC_ARCH_PPC   (20 << 16)

Definition at line 22 of file kexec.h.

#define KEXEC_ARCH_PPC64   (21 << 16)

Definition at line 23 of file kexec.h.

#define KEXEC_ARCH_S390   (22 << 16)

Definition at line 26 of file kexec.h.

#define KEXEC_ARCH_SH   (42 << 16)

Definition at line 27 of file kexec.h.

#define KEXEC_ARCH_X86_64   (62 << 16)

Definition at line 21 of file kexec.h.

#define KEXEC_ON_CRASH   0x00000001

Definition at line 12 of file kexec.h.

#define KEXEC_PRESERVE_CONTEXT   0x00000002

Definition at line 13 of file kexec.h.

#define KEXEC_SEGMENT_MAX   16

Definition at line 32 of file kexec.h.

Function Documentation

int kexec_load ( void ,
size_t  ,
struct kexec_segment ,
unsigned long  int 
)