Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
fadump.c File Reference
#include <linux/string.h>
#include <linux/memblock.h>
#include <linux/delay.h>
#include <linux/debugfs.h>
#include <linux/seq_file.h>
#include <linux/crash_dump.h>
#include <linux/kobject.h>
#include <linux/sysfs.h>
#include <asm/page.h>
#include <asm/prom.h>
#include <asm/rtas.h>
#include <asm/fadump.h>
#include <asm/debug.h>
#include <asm/setup.h>

Go to the source code of this file.


#define pr_fmt(fmt)   "fadump: " fmt
#define GPR_MASK   0xffffff0000000000


int __init early_init_dt_scan_fw_dump (unsigned long node, const char *uname, int depth, void *data)
int is_fadump_active (void)
int __init fadump_reserve_mem (void)
 early_param ("fadump", early_fadump_param)
 early_param ("fadump_reserve_mem", early_fadump_reserve_mem)
void crash_fadump (struct pt_regs *regs, const char *str)
void fadump_cleanup (void)
int __init setup_fadump (void)
 subsys_initcall (setup_fadump)


struct fad_crash_memory_ranges crash_memory_ranges [INIT_CRASHMEM_RANGES]
int crash_mem_ranges

Macro Definition Documentation

#define GPR_MASK   0xffffff0000000000

Definition at line 423 of file fadump.c.

#define pr_fmt (   fmt)    "fadump: " fmt

Definition at line 28 of file fadump.c.

Function Documentation

void crash_fadump ( struct pt_regs regs,
const char str 

Definition at line 400 of file fadump.c.

int __init early_init_dt_scan_fw_dump ( unsigned long  node,
const char uname,
int  depth,
void data 

Definition at line 55 of file fadump.c.

early_param ( "fadump"  ,
early_param ( "fadump_reserve_mem"  ,
void fadump_cleanup ( void  )

Definition at line 1018 of file fadump.c.

int __init fadump_reserve_mem ( void  )

Definition at line 255 of file fadump.c.

int is_fadump_active ( void  )

Definition at line 116 of file fadump.c.

int __init setup_fadump ( void  )

Definition at line 1285 of file fadump.c.

subsys_initcall ( setup_fadump  )

Variable Documentation

int crash_mem_ranges

Definition at line 52 of file fadump.c.

struct fad_crash_memory_ranges crash_memory_ranges[INIT_CRASHMEM_RANGES]

Definition at line 51 of file fadump.c.