Lines Matching full:copy
16 #define COPY(X) regs->gp[X] = mc->gregs[REG_##X] in get_regs_from_mc() macro
20 COPY(EDI); COPY(ESI); COPY(EBP); in get_regs_from_mc()
22 COPY(EBX); COPY(EDX); COPY(ECX); COPY(EAX); in get_regs_from_mc()
23 COPY(EIP); COPY_SEG_CPL3(CS); COPY(EFL); COPY_SEG_CPL3(SS); in get_regs_from_mc()
25 #undef COPY in get_regs_from_mc()
30 #define COPY(X) regs->gp[X/sizeof(unsigned long)] = mc->gregs[REG_##X] in get_regs_from_mc()
31 COPY(R8); COPY(R9); COPY(R10); COPY(R11); in get_regs_from_mc()
32 COPY(R12); COPY(R13); COPY(R14); COPY(R15); in get_regs_from_mc()
33 COPY(RDI); COPY(RSI); COPY(RBP); COPY(RBX); in get_regs_from_mc()
34 COPY(RDX); COPY(RAX); COPY(RCX); COPY(RSP); in get_regs_from_mc()
35 COPY(RIP); in get_regs_from_mc()
40 #undef COPY in get_regs_from_mc()
55 /* Same thing, but the copy macros are turned around. */
60 #define COPY(X) mc->gregs[REG_##X] = regs->gp[X] in get_mc_from_regs() macro
64 COPY(EDI); COPY(ESI); COPY(EBP); in get_mc_from_regs()
66 COPY(EBX); COPY(EDX); COPY(ECX); COPY(EAX); in get_mc_from_regs()
67 COPY(EIP); COPY_SEG_CPL3(CS); COPY(EFL); COPY_SEG_CPL3(SS); in get_mc_from_regs()
70 #define COPY(X) mc->gregs[REG_##X] = regs->gp[X/sizeof(unsigned long)] in get_mc_from_regs()
71 COPY(R8); COPY(R9); COPY(R10); COPY(R11); in get_mc_from_regs()
72 COPY(R12); COPY(R13); COPY(R14); COPY(R15); in get_mc_from_regs()
73 COPY(RDI); COPY(RSI); COPY(RBP); COPY(RBX); in get_mc_from_regs()
74 COPY(RDX); COPY(RAX); COPY(RCX); COPY(RSP); in get_mc_from_regs()
75 COPY(RIP); in get_mc_from_regs()