Lines Matching +full:cs +full:- +full:x
1 // SPDX-License-Identifier: GPL-2.0
11 #define COPY2(X,Y) regs->gp[X] = mc->gregs[REG_##Y] in get_regs_from_mc() argument
12 #define COPY(X) regs->gp[X] = mc->gregs[REG_##X] in get_regs_from_mc() argument
13 #define COPY_SEG(X) regs->gp[X] = mc->gregs[REG_##X] & 0xffff; in get_regs_from_mc() argument
14 #define COPY_SEG_CPL3(X) regs->gp[X] = (mc->gregs[REG_##X] & 0xffff) | 3; in get_regs_from_mc() argument
19 COPY(EIP); COPY_SEG_CPL3(CS); COPY(EFL); COPY_SEG_CPL3(SS); in get_regs_from_mc()
21 #define COPY2(X,Y) regs->gp[X/sizeof(unsigned long)] = mc->gregs[REG_##Y] in get_regs_from_mc()
22 #define COPY(X) regs->gp[X/sizeof(unsigned long)] = mc->gregs[REG_##X] in get_regs_from_mc()
29 COPY2(CS, CSGSFS); in get_regs_from_mc()
30 regs->gp[CS / sizeof(unsigned long)] &= 0xffff; in get_regs_from_mc()
31 regs->gp[CS / sizeof(unsigned long)] |= 3; in get_regs_from_mc()