Go to the documentation of this file.
7 #include <linux/sched.h>
8 #include <linux/signal.h>
9 #include <linux/personality.h>
11 #include <asm/registers.h>
12 #include <asm/ucontext.h>
13 #include <asm/processor.h>
14 #include <asm/thread_info.h>
15 #include <asm/gdb-stub.h>
17 #define DEF_PTREG(sym, reg) \
18 asm volatile("\n->" #sym " %0 offsetof(struct pt_regs, " #reg ")" \
19 : : "i" (offsetof(struct pt_regs, reg)))
21 #define DEF_IREG(sym, reg) \
22 asm volatile("\n->" #sym " %0 offsetof(struct user_context, " #reg ")" \
23 : : "i" (offsetof(struct user_context, reg)))
25 #define DEF_FREG(sym, reg) \
26 asm volatile("\n->" #sym " %0 offsetof(struct user_context, " #reg ")" \
27 : : "i" (offsetof(struct user_context, reg)))
29 #define DEF_0REG(sym, reg) \
30 asm volatile("\n->" #sym " %0 offsetof(struct frv_frame0, " #reg ")" \
31 : : "i" (offsetof(struct frv_frame0, reg)))