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/string.h>
#include <asm/page.h>
#include <asm/ptrace.h>

Go to the source code of this file.

Data Structures

struct  kimage_arch
 

Macros

#define PA_CONTROL_PAGE   0
 
#define VA_CONTROL_PAGE   1
 
#define PA_TABLE_PAGE   2
 
#define PA_SWAP_PAGE   3
 
#define PAGES_NR   4
 
#define KEXEC_CONTROL_CODE_MAX_SIZE   2048
 
#define KEXEC_SOURCE_MEMORY_LIMIT   (0xFFFFFFFFFFUL)
 
#define KEXEC_DESTINATION_MEMORY_LIMIT   (0xFFFFFFFFFFUL)
 
#define KEXEC_CONTROL_MEMORY_LIMIT   (0xFFFFFFFFFFUL)
 
#define KEXEC_CONTROL_PAGE_SIZE   (4096UL + 4096UL)
 
#define KEXEC_ARCH   KEXEC_ARCH_X86_64
 
#define ARCH_HAS_KIMAGE_ARCH
 

Functions

unsigned long relocate_kernel (unsigned long indirection_page, unsigned long page_list, unsigned long start_address, unsigned int preserve_context)
 

Macro Definition Documentation

#define ARCH_HAS_KIMAGE_ARCH

Definition at line 146 of file kexec.h.

#define KEXEC_ARCH   KEXEC_ARCH_X86_64

Definition at line 61 of file kexec.h.

#define KEXEC_CONTROL_CODE_MAX_SIZE   2048

Definition at line 18 of file kexec.h.

#define KEXEC_CONTROL_MEMORY_LIMIT   (0xFFFFFFFFFFUL)

Definition at line 55 of file kexec.h.

#define KEXEC_CONTROL_PAGE_SIZE   (4096UL + 4096UL)

Definition at line 58 of file kexec.h.

#define KEXEC_DESTINATION_MEMORY_LIMIT   (0xFFFFFFFFFFUL)

Definition at line 53 of file kexec.h.

#define KEXEC_SOURCE_MEMORY_LIMIT   (0xFFFFFFFFFFUL)

Definition at line 51 of file kexec.h.

#define PA_CONTROL_PAGE   0

Definition at line 11 of file kexec.h.

#define PA_SWAP_PAGE   3

Definition at line 14 of file kexec.h.

#define PA_TABLE_PAGE   2

Definition at line 13 of file kexec.h.

#define PAGES_NR   4

Definition at line 15 of file kexec.h.

#define VA_CONTROL_PAGE   1

Definition at line 12 of file kexec.h.

Function Documentation

unsigned long relocate_kernel ( unsigned long  indirection_page,
unsigned long  page_list,
unsigned long  start_address,
unsigned int  preserve_context 
)