Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
unwind.c File Reference
#include <linux/kallsyms.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/stacktrace.h>
#include <linux/types.h>
#include <linux/errno.h>
#include <linux/module.h>
#include <linux/io.h>
#include <asm/sections.h>
#include <asm/exceptions.h>
#include <asm/unwind.h>
#include <asm/switch_to.h>

Go to the source code of this file.

Functions

long get_frame_size (unsigned long instr)
 
void microblaze_unwind (struct task_struct *task, struct stack_trace *trace)
 

Function Documentation

long get_frame_size ( unsigned long  instr)
inline

get_frame_size - Extract the stack adjustment from an "addik r1, r1, adjust" instruction : Microblaze instruction

Return - Number of stack bytes the instruction reserves or reclaims

Definition at line 62 of file unwind.c.

void microblaze_unwind ( struct task_struct task,
struct stack_trace *  trace 
)

microblaze_unwind - Stack unwinder for Microblaze (external entry point) : Task whose stack we are to unwind (NULL == current) : Where to store stack backtrace (PC values). NULL == print backtrace to kernel log

Definition at line 285 of file unwind.c.