Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
ptrace32.c File Reference
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/mm.h>
#include <linux/smp.h>
#include <linux/errno.h>
#include <linux/ptrace.h>
#include <linux/regset.h>
#include <linux/user.h>
#include <linux/security.h>
#include <linux/signal.h>
#include <linux/compat.h>
#include <asm/uaccess.h>
#include <asm/page.h>
#include <asm/pgtable.h>
#include <asm/switch_to.h>

Go to the source code of this file.

Macros

#define FPRNUMBER(i)   (((i) - PT_FPR0) >> 1)
 
#define FPRHALF(i)   (((i) - PT_FPR0) & 1)
 
#define FPRINDEX(i)   TS_FPRWIDTH * FPRNUMBER(i) * 2 + FPRHALF(i)
 
#define FPRINDEX_3264(i)   (TS_FPRWIDTH * ((i) - PT_FPR0))
 

Functions

long compat_arch_ptrace (struct task_struct *child, compat_long_t request, compat_ulong_t caddr, compat_ulong_t cdata)
 

Macro Definition Documentation

#define FPRHALF (   i)    (((i) - PT_FPR0) & 1)

Definition at line 44 of file ptrace32.c.

#define FPRINDEX (   i)    TS_FPRWIDTH * FPRNUMBER(i) * 2 + FPRHALF(i)

Definition at line 45 of file ptrace32.c.

#define FPRINDEX_3264 (   i)    (TS_FPRWIDTH * ((i) - PT_FPR0))

Definition at line 46 of file ptrace32.c.

#define FPRNUMBER (   i)    (((i) - PT_FPR0) >> 1)

Definition at line 43 of file ptrace32.c.

Function Documentation

long compat_arch_ptrace ( struct task_struct child,
compat_long_t  request,
compat_ulong_t  caddr,
compat_ulong_t  cdata 
)

Definition at line 48 of file ptrace32.c.