/arch/nios2/kernel/ |
D | signal.c | 42 unsigned long *gregs = uc->uc_mcontext.gregs; in rt_restore_ucontext() local 52 err |= __get_user(regs->r1, &gregs[0]); in rt_restore_ucontext() 53 err |= __get_user(regs->r2, &gregs[1]); in rt_restore_ucontext() 54 err |= __get_user(regs->r3, &gregs[2]); in rt_restore_ucontext() 55 err |= __get_user(regs->r4, &gregs[3]); in rt_restore_ucontext() 56 err |= __get_user(regs->r5, &gregs[4]); in rt_restore_ucontext() 57 err |= __get_user(regs->r6, &gregs[5]); in rt_restore_ucontext() 58 err |= __get_user(regs->r7, &gregs[6]); in rt_restore_ucontext() 59 err |= __get_user(regs->r8, &gregs[7]); in rt_restore_ucontext() 60 err |= __get_user(regs->r9, &gregs[8]); in rt_restore_ucontext() [all …]
|
/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.c | 672 greg_t __user *gregs = uc->uc_mcontext.gregs; in rt_restore_ucontext() local 683 err |= __get_user(regs->d0, &gregs[0]); in rt_restore_ucontext() 684 err |= __get_user(regs->d1, &gregs[1]); in rt_restore_ucontext() 685 err |= __get_user(regs->d2, &gregs[2]); in rt_restore_ucontext() 686 err |= __get_user(regs->d3, &gregs[3]); in rt_restore_ucontext() 687 err |= __get_user(regs->d4, &gregs[4]); in rt_restore_ucontext() 688 err |= __get_user(regs->d5, &gregs[5]); in rt_restore_ucontext() 689 err |= __get_user(sw->d6, &gregs[6]); in rt_restore_ucontext() 690 err |= __get_user(sw->d7, &gregs[7]); in rt_restore_ucontext() 691 err |= __get_user(regs->a0, &gregs[8]); in rt_restore_ucontext() [all …]
|
/arch/x86/um/os-Linux/ |
D | mcontext.c | 10 #define COPY2(X,Y) regs->gp[X] = mc->gregs[REG_##Y] in get_regs_from_mc() 11 #define COPY(X) regs->gp[X] = mc->gregs[REG_##X] in get_regs_from_mc() 12 #define COPY_SEG(X) regs->gp[X] = mc->gregs[REG_##X] & 0xffff; in get_regs_from_mc() 13 #define COPY_SEG_CPL3(X) regs->gp[X] = (mc->gregs[REG_##X] & 0xffff) | 3; in get_regs_from_mc() 20 #define COPY2(X,Y) regs->gp[X/sizeof(unsigned long)] = mc->gregs[REG_##Y] in get_regs_from_mc() 21 #define COPY(X) regs->gp[X/sizeof(unsigned long)] = mc->gregs[REG_##X] in get_regs_from_mc()
|
/arch/nios2/include/uapi/asm/ |
D | sigcontext.h | 28 unsigned long gregs[32]; member
|
/arch/powerpc/sysdev/ |
D | mpic.c | 218 return _mpic_read(type, &mpic->gregs, offset); in _mpic_ipi_read() 226 _mpic_write(mpic->reg_type, &mpic->gregs, offset, value); in _mpic_ipi_write() 353 mpic_write(mpic->gregs, MPIC_INFO(GREG_IPI_VECTOR_PRI_0), MPIC_VECPRI_MASK); in mpic_test_broken_ipi() 354 r = mpic_read(mpic->gregs, MPIC_INFO(GREG_IPI_VECTOR_PRI_0)); in mpic_test_broken_ipi() 1360 mpic_map(mpic, mpic->paddr, &mpic->gregs, MPIC_INFO(GREG_BASE), 0x1000); in mpic_alloc() 1422 mpic_write(mpic->gregs, MPIC_INFO(GREG_GLOBAL_CONF_0), in mpic_alloc() 1423 mpic_read(mpic->gregs, MPIC_INFO(GREG_GLOBAL_CONF_0)) in mpic_alloc() 1425 while( mpic_read(mpic->gregs, MPIC_INFO(GREG_GLOBAL_CONF_0)) in mpic_alloc() 1432 mpic_write(mpic->gregs, MPIC_INFO(GREG_GLOBAL_CONF_0), in mpic_alloc() 1433 mpic_read(mpic->gregs, MPIC_INFO(GREG_GLOBAL_CONF_0)) in mpic_alloc() [all …]
|
/arch/tile/include/uapi/asm/ |
D | sigcontext.h | 30 __uint_reg_t gregs[56]; member
|
/arch/m68k/include/asm/ |
D | ucontext.h | 16 gregset_t gregs; member
|
/arch/powerpc/include/asm/ |
D | elf.h | 58 #define ELF_CORE_COPY_REGS(gregs, regs) ppc_elf_core_copy_regs(gregs, regs); argument
|
D | mpic.h | 307 struct mpic_reg_bank gregs; member
|
/arch/ia64/kernel/ |
D | unwind_decoder.c | 258 int gregs = (code & 0x10) != 0; in unw_decode_p6() local 261 if (gregs) in unw_decode_p6()
|
/arch/powerpc/kernel/ |
D | signal_32.c | 139 elf_greg_t64 *gregs = (elf_greg_t64 *)regs; in save_general_regs() local 147 if (__put_user((unsigned int)gregs[i], &frame->mc_gregs[i])) in save_general_regs() 156 elf_greg_t64 *gregs = (elf_greg_t64 *)regs; in restore_general_regs() local 162 if (__get_user(gregs[i], &sr->mc_gregs[i])) in restore_general_regs()
|