Lines Matching refs:pr_reg
75 #define ELF_CORE_COPY_REGS(pr_reg, regs) do { \ argument
77 (pr_reg)[0] = (regs)->r15; \
78 (pr_reg)[1] = (regs)->r14; \
79 (pr_reg)[2] = (regs)->r13; \
80 (pr_reg)[3] = (regs)->r12; \
81 (pr_reg)[4] = (regs)->rbp; \
82 (pr_reg)[5] = (regs)->rbx; \
83 (pr_reg)[6] = (regs)->r11; \
84 (pr_reg)[7] = (regs)->r10; \
85 (pr_reg)[8] = (regs)->r9; \
86 (pr_reg)[9] = (regs)->r8; \
87 (pr_reg)[10] = (regs)->rax; \
88 (pr_reg)[11] = (regs)->rcx; \
89 (pr_reg)[12] = (regs)->rdx; \
90 (pr_reg)[13] = (regs)->rsi; \
91 (pr_reg)[14] = (regs)->rdi; \
92 (pr_reg)[15] = (regs)->orig_rax; \
93 (pr_reg)[16] = (regs)->rip; \
94 (pr_reg)[17] = (regs)->cs; \
95 (pr_reg)[18] = (regs)->eflags; \
96 (pr_reg)[19] = (regs)->rsp; \
97 (pr_reg)[20] = (regs)->ss; \
98 (pr_reg)[21] = current->thread.fs; \
99 (pr_reg)[22] = current->thread.gs; \
100 asm("movl %%ds,%0" : "=r" (v)); (pr_reg)[23] = v; \
101 asm("movl %%es,%0" : "=r" (v)); (pr_reg)[24] = v; \
102 asm("movl %%fs,%0" : "=r" (v)); (pr_reg)[25] = v; \
103 asm("movl %%gs,%0" : "=r" (v)); (pr_reg)[26] = v; \