/arch/x86/um/shared/sysdep/ |
D | mcontext.h | 16 (fi).error_code = (mc)->gregs[REG_ERR]; \ 17 (fi).trap_no = (mc)->gregs[REG_TRAPNO]; \ 24 (fi).cr2 = (mc)->gregs[REG_CR2]; \ 25 (fi).error_code = (mc)->gregs[REG_ERR]; \ 26 (fi).trap_no = (mc)->gregs[REG_TRAPNO]; \
|
/arch/m68k/kernel/ |
D | signal_no.c | 283 greg_t __user *gregs = uc->uc_mcontext.gregs; in rt_restore_ucontext() local 294 err |= __get_user(regs->d0, &gregs[0]); in rt_restore_ucontext() 295 err |= __get_user(regs->d1, &gregs[1]); in rt_restore_ucontext() 296 err |= __get_user(regs->d2, &gregs[2]); in rt_restore_ucontext() 297 err |= __get_user(regs->d3, &gregs[3]); in rt_restore_ucontext() 298 err |= __get_user(regs->d4, &gregs[4]); in rt_restore_ucontext() 299 err |= __get_user(regs->d5, &gregs[5]); in rt_restore_ucontext() 300 err |= __get_user(sw->d6, &gregs[6]); in rt_restore_ucontext() 301 err |= __get_user(sw->d7, &gregs[7]); in rt_restore_ucontext() 302 err |= __get_user(regs->a0, &gregs[8]); in rt_restore_ucontext() [all …]
|
D | signal_mm.c | 466 greg_t __user *gregs = uc->uc_mcontext.gregs; in rt_restore_ucontext() local 477 err |= __get_user(regs->d0, &gregs[0]); in rt_restore_ucontext() 478 err |= __get_user(regs->d1, &gregs[1]); in rt_restore_ucontext() 479 err |= __get_user(regs->d2, &gregs[2]); in rt_restore_ucontext() 480 err |= __get_user(regs->d3, &gregs[3]); in rt_restore_ucontext() 481 err |= __get_user(regs->d4, &gregs[4]); in rt_restore_ucontext() 482 err |= __get_user(regs->d5, &gregs[5]); in rt_restore_ucontext() 483 err |= __get_user(sw->d6, &gregs[6]); in rt_restore_ucontext() 484 err |= __get_user(sw->d7, &gregs[7]); in rt_restore_ucontext() 485 err |= __get_user(regs->a0, &gregs[8]); in rt_restore_ucontext() [all …]
|
/arch/x86/um/os-Linux/ |
D | mcontext.c | 9 #define COPY2(X,Y) regs->gp[X] = mc->gregs[REG_##Y] in get_regs_from_mc() 10 #define COPY(X) regs->gp[X] = mc->gregs[REG_##X] in get_regs_from_mc() 11 #define COPY_SEG(X) regs->gp[X] = mc->gregs[REG_##X] & 0xffff; in get_regs_from_mc() 12 #define COPY_SEG_CPL3(X) regs->gp[X] = (mc->gregs[REG_##X] & 0xffff) | 3; in get_regs_from_mc() 19 #define COPY2(X,Y) regs->gp[X/sizeof(unsigned long)] = mc->gregs[REG_##Y] in get_regs_from_mc() 20 #define COPY(X) regs->gp[X/sizeof(unsigned long)] = mc->gregs[REG_##X] in get_regs_from_mc()
|
/arch/powerpc/sysdev/ |
D | mpic.c | 213 return _mpic_read(type, &mpic->gregs, offset); in _mpic_ipi_read() 221 _mpic_write(mpic->reg_type, &mpic->gregs, offset, value); in _mpic_ipi_write() 348 mpic_write(mpic->gregs, MPIC_INFO(GREG_IPI_VECTOR_PRI_0), MPIC_VECPRI_MASK); in mpic_test_broken_ipi() 349 r = mpic_read(mpic->gregs, MPIC_INFO(GREG_IPI_VECTOR_PRI_0)); in mpic_test_broken_ipi() 1301 mpic_map(mpic, mpic->paddr, &mpic->gregs, MPIC_INFO(GREG_BASE), 0x1000); in mpic_alloc() 1311 mpic_write(mpic->gregs, MPIC_INFO(GREG_GLOBAL_CONF_0), in mpic_alloc() 1312 mpic_read(mpic->gregs, MPIC_INFO(GREG_GLOBAL_CONF_0)) in mpic_alloc() 1314 while( mpic_read(mpic->gregs, MPIC_INFO(GREG_GLOBAL_CONF_0)) in mpic_alloc() 1321 mpic_write(mpic->gregs, MPIC_INFO(GREG_GLOBAL_CONF_0), in mpic_alloc() 1322 mpic_read(mpic->gregs, MPIC_INFO(GREG_GLOBAL_CONF_0)) in mpic_alloc() [all …]
|
/arch/tile/include/asm/ |
D | sigcontext.h | 27 __uint_reg_t gregs[53]; /* General-purpose registers. */ member
|
/arch/m68k/include/asm/ |
D | ucontext.h | 15 gregset_t gregs; member
|
/arch/powerpc/include/asm/ |
D | elf.h | 206 #define ELF_CORE_COPY_REGS(gregs, regs) ppc_elf_core_copy_regs(gregs, regs); argument
|
D | mpic.h | 299 struct mpic_reg_bank gregs; member
|
/arch/tile/kernel/ |
D | signal.c | 70 err |= __get_user(regs->regs[i], &sc->gregs[i]); in restore_sigcontext() 124 err |= __put_user(regs->regs[i], &sc->gregs[i]); in setup_sigcontext()
|
/arch/ia64/kernel/ |
D | unwind_decoder.c | 257 int gregs = (code & 0x10) != 0; in unw_decode_p6() local 260 if (gregs) in unw_decode_p6()
|
/arch/powerpc/kernel/ |
D | signal_32.c | 157 elf_greg_t64 *gregs = (elf_greg_t64 *)regs; in save_general_regs() local 165 if (__put_user((unsigned int)gregs[i], &frame->mc_gregs[i])) in save_general_regs() 174 elf_greg_t64 *gregs = (elf_greg_t64 *)regs; in restore_general_regs() local 180 if (__get_user(gregs[i], &sr->mc_gregs[i])) in restore_general_regs()
|