Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
crash.c File Reference
#include <linux/kernel.h>
#include <linux/smp.h>
#include <linux/reboot.h>
#include <linux/kexec.h>
#include <linux/export.h>
#include <linux/crash_dump.h>
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/irq.h>
#include <linux/types.h>
#include <asm/processor.h>
#include <asm/machdep.h>
#include <asm/kexec.h>
#include <asm/kdump.h>
#include <asm/prom.h>
#include <asm/smp.h>
#include <asm/setjmp.h>
#include <asm/debug.h>

Go to the source code of this file.

Macros

#define PRIMARY_TIMEOUT   500
 
#define SECONDARY_TIMEOUT   1000
 
#define IPI_TIMEOUT   10000
 
#define REAL_MODE_TIMEOUT   10000
 
#define CRASH_HANDLER_MAX   3
 

Functions

void crash_kexec_secondary (struct pt_regs *regs)
 
int crash_shutdown_register (crash_shutdown_t handler)
 
 EXPORT_SYMBOL (crash_shutdown_register)
 
int crash_shutdown_unregister (crash_shutdown_t handler)
 
 EXPORT_SYMBOL (crash_shutdown_unregister)
 
void default_machine_crash_shutdown (struct pt_regs *regs)
 

Variables

int crashing_cpu = -1
 

Macro Definition Documentation

#define CRASH_HANDLER_MAX   3

Definition at line 51 of file crash.c.

#define IPI_TIMEOUT   10000

Definition at line 44 of file crash.c.

#define PRIMARY_TIMEOUT   500

Definition at line 41 of file crash.c.

#define REAL_MODE_TIMEOUT   10000

Definition at line 45 of file crash.c.

#define SECONDARY_TIMEOUT   1000

Definition at line 42 of file crash.c.

Function Documentation

void crash_kexec_secondary ( struct pt_regs regs)

Definition at line 219 of file crash.c.

int crash_shutdown_register ( crash_shutdown_t  handler)

Definition at line 254 of file crash.c.

int crash_shutdown_unregister ( crash_shutdown_t  handler)

Definition at line 278 of file crash.c.

void default_machine_crash_shutdown ( struct pt_regs regs)

Definition at line 303 of file crash.c.

EXPORT_SYMBOL ( crash_shutdown_register  )
EXPORT_SYMBOL ( crash_shutdown_unregister  )

Variable Documentation

int crashing_cpu = -1

Definition at line 48 of file crash.c.