Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
machine_kexec.c File Reference
#include <linux/mm.h>
#include <linux/kexec.h>
#include <linux/delay.h>
#include <linux/reboot.h>
#include <linux/errno.h>
#include <linux/vmalloc.h>
#include <linux/cpumask.h>
#include <linux/kernel.h>
#include <linux/elf.h>
#include <linux/highmem.h>
#include <linux/mmu_context.h>
#include <linux/io.h>
#include <linux/timex.h>
#include <asm/pgtable.h>
#include <asm/pgalloc.h>
#include <asm/cacheflush.h>
#include <asm/checksum.h>
#include <asm/tlbflush.h>
#include <asm/homecache.h>
#include <hv/hypervisor.h>

Go to the source code of this file.

Data Structures

struct  Elf32_Bhdr
 

Macros

#define ELF_BOOT_MAGIC   0x0E1FB007
 
#define EBN_COMMAND_LINE   0x00000004
 
#define roundupsz(X)   (((X) + 3) & ~3)
 
#define QUASI_VA_IS_PA_ADDR_RANGE   PAGE_OFFSET
 

Functions

void machine_shutdown (void)
 
void machine_crash_shutdown (struct pt_regs *regs)
 
int machine_kexec_prepare (struct kimage *image)
 
void machine_kexec_cleanup (struct kimage *image)
 
struct pagekimage_alloc_pages_arch (gfp_t gfp_mask, unsigned int order)
 
void machine_kexec (struct kimage *image)
 

Macro Definition Documentation

#define EBN_COMMAND_LINE   0x00000004

Definition at line 51 of file machine_kexec.c.

#define ELF_BOOT_MAGIC   0x0E1FB007

Definition at line 50 of file machine_kexec.c.

#define QUASI_VA_IS_PA_ADDR_RANGE   PAGE_OFFSET

Definition at line 234 of file machine_kexec.c.

#define roundupsz (   X)    (((X) + 3) & ~3)

Definition at line 52 of file machine_kexec.c.

Function Documentation

struct page* kimage_alloc_pages_arch ( gfp_t  gfp_mask,
unsigned int  order 
)
read

Definition at line 221 of file machine_kexec.c.

void machine_crash_shutdown ( struct pt_regs regs)

Definition at line 68 of file machine_kexec.c.

void machine_kexec ( struct kimage *  image)

Definition at line 270 of file machine_kexec.c.

void machine_kexec_cleanup ( struct kimage *  image)

Definition at line 95 of file machine_kexec.c.

int machine_kexec_prepare ( struct kimage *  image)

Definition at line 77 of file machine_kexec.c.

void machine_shutdown ( void  )

Definition at line 57 of file machine_kexec.c.