Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions | Variables
unwind.c File Reference
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/export.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/spinlock.h>
#include <linux/list.h>
#include <asm/stacktrace.h>
#include <asm/traps.h>
#include <asm/unwind.h>

Go to the source code of this file.

Data Structures

struct  unwind_ctrl_block
 

Macros

#define prel31_to_addr(ptr)
 

Enumerations

enum  regs { FP = 11, SP = 13, LR = 14, PC = 15 }
 

Functions

void __aeabi_unwind_cpp_pr0 (void)
 
 EXPORT_SYMBOL (__aeabi_unwind_cpp_pr0)
 
void __aeabi_unwind_cpp_pr1 (void)
 
 EXPORT_SYMBOL (__aeabi_unwind_cpp_pr1)
 
void __aeabi_unwind_cpp_pr2 (void)
 
 EXPORT_SYMBOL (__aeabi_unwind_cpp_pr2)
 
int unwind_frame (struct stackframe *frame)
 
void unwind_backtrace (struct pt_regs *regs, struct task_struct *tsk)
 
struct unwind_tableunwind_table_add (unsigned long start, unsigned long size, unsigned long text_addr, unsigned long text_size)
 
void unwind_table_del (struct unwind_table *tab)
 

Variables

struct unwind_idx __start_unwind_idx []
 
struct unwind_idx __stop_unwind_idx []
 

Macro Definition Documentation

#define prel31_to_addr (   ptr)
Value:
({ \
/* sign-extend to 32 bits */ \
long offset = (((long)*(ptr)) << 1) >> 1; \
(unsigned long)(ptr) + offset; \
})

Definition at line 94 of file unwind.c.

Enumeration Type Documentation

enum regs
Enumerator:
FP 
SP 
LR 
PC 

Definition at line 75 of file unwind.c.

Function Documentation

void __aeabi_unwind_cpp_pr0 ( void  )

Definition at line 53 of file unwind.c.

void __aeabi_unwind_cpp_pr1 ( void  )

Definition at line 58 of file unwind.c.

void __aeabi_unwind_cpp_pr2 ( void  )

Definition at line 63 of file unwind.c.

EXPORT_SYMBOL ( __aeabi_unwind_cpp_pr0  )
EXPORT_SYMBOL ( __aeabi_unwind_cpp_pr1  )
EXPORT_SYMBOL ( __aeabi_unwind_cpp_pr2  )
void unwind_backtrace ( struct pt_regs regs,
struct task_struct tsk 
)

Definition at line 408 of file unwind.c.

int unwind_frame ( struct stackframe frame)

Definition at line 330 of file unwind.c.

struct unwind_table* unwind_table_add ( unsigned long  start,
unsigned long  size,
unsigned long  text_addr,
unsigned long  text_size 
)
read

Definition at line 453 of file unwind.c.

void unwind_table_del ( struct unwind_table tab)

Definition at line 479 of file unwind.c.

Variable Documentation

struct unwind_idx __start_unwind_idx[]
struct unwind_idx __stop_unwind_idx[]