Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
asm-offsets.c File Reference
#include <linux/sched.h>
#include <linux/signal.h>
#include <linux/personality.h>
#include <linux/kbuild.h>
#include <asm/registers.h>
#include <asm/ucontext.h>
#include <asm/processor.h>
#include <asm/thread_info.h>
#include <asm/gdb-stub.h>

Go to the source code of this file.

Macros

#define DEF_PTREG(sym, reg)
 
#define DEF_IREG(sym, reg)
 
#define DEF_FREG(sym, reg)
 
#define DEF_0REG(sym, reg)
 

Functions

void foo (void)
 

Macro Definition Documentation

#define DEF_0REG (   sym,
  reg 
)
Value:
asm volatile("\n->" #sym " %0 offsetof(struct frv_frame0, " #reg ")" \
: : "i" (offsetof(struct frv_frame0, reg)))

Definition at line 29 of file asm-offsets.c.

#define DEF_FREG (   sym,
  reg 
)
Value:
asm volatile("\n->" #sym " %0 offsetof(struct user_context, " #reg ")" \
: : "i" (offsetof(struct user_context, reg)))

Definition at line 25 of file asm-offsets.c.

#define DEF_IREG (   sym,
  reg 
)
Value:
asm volatile("\n->" #sym " %0 offsetof(struct user_context, " #reg ")" \
: : "i" (offsetof(struct user_context, reg)))

Definition at line 21 of file asm-offsets.c.

#define DEF_PTREG (   sym,
  reg 
)
Value:
asm volatile("\n->" #sym " %0 offsetof(struct pt_regs, " #reg ")" \
: : "i" (offsetof(struct pt_regs, reg)))

Definition at line 17 of file asm-offsets.c.

Function Documentation

void foo ( void  )

Definition at line 33 of file asm-offsets.c.