Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
kprobes-arm.c File Reference
#include <linux/kernel.h>
#include <linux/kprobes.h>
#include <linux/module.h>
#include "kprobes.h"

Go to the source code of this file.

Macros

#define sign_extend(x, signbit)   ((x) | (0 - ((x) & (1 << (signbit)))))
 
#define branch_displacement(insn)   sign_extend(((insn) & 0xffffff) << 2, 25)
 
#define BLX(reg)
 

Functions

enum kprobe_insn __kprobes arm_kprobe_decode_insn (kprobe_opcode_t insn, struct arch_specific_insn *asi)
 

Variables

union decode_item kprobe_decode_arm_table []
 

Macro Definition Documentation

#define BLX (   reg)
Value:
"mov lr, pc \n\t" \
"mov pc, "reg" \n\t"

Definition at line 74 of file kprobes-arm.c.

#define branch_displacement (   insn)    sign_extend(((insn) & 0xffffff) << 2, 25)

Definition at line 69 of file kprobes-arm.c.

#define sign_extend (   x,
  signbit 
)    ((x) | (0 - ((x) & (1 << (signbit)))))

Definition at line 67 of file kprobes-arm.c.

Function Documentation

enum kprobe_insn __kprobes arm_kprobe_decode_insn ( kprobe_opcode_t  insn,
struct arch_specific_insn asi 
)

Definition at line 1000 of file kprobes-arm.c.

Variable Documentation

union decode_item kprobe_decode_arm_table[]

Definition at line 887 of file kprobes-arm.c.