Searched refs:gregs (Results 1 – 11 of 11) sorted by relevance
/arch/nios2/kernel/ |
D | signal.c | 42 unsigned long __user *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 | 713 greg_t __user *gregs = uc->uc_mcontext.gregs; in rt_restore_ucontext() local 724 err |= __get_user(regs->d0, &gregs[0]); in rt_restore_ucontext() 725 err |= __get_user(regs->d1, &gregs[1]); in rt_restore_ucontext() 726 err |= __get_user(regs->d2, &gregs[2]); in rt_restore_ucontext() 727 err |= __get_user(regs->d3, &gregs[3]); in rt_restore_ucontext() 728 err |= __get_user(regs->d4, &gregs[4]); in rt_restore_ucontext() 729 err |= __get_user(regs->d5, &gregs[5]); in rt_restore_ucontext() 730 err |= __get_user(sw->d6, &gregs[6]); in rt_restore_ucontext() 731 err |= __get_user(sw->d7, &gregs[7]); in rt_restore_ucontext() 732 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/powerpc/sysdev/ |
D | mpic.c | 220 return _mpic_read(type, &mpic->gregs, offset); in _mpic_ipi_read() 228 _mpic_write(mpic->reg_type, &mpic->gregs, offset, value); in _mpic_ipi_write() 355 mpic_write(mpic->gregs, MPIC_INFO(GREG_IPI_VECTOR_PRI_0), MPIC_VECPRI_MASK); in mpic_test_broken_ipi() 356 r = mpic_read(mpic->gregs, MPIC_INFO(GREG_IPI_VECTOR_PRI_0)); in mpic_test_broken_ipi() 1359 mpic_map(mpic, mpic->paddr, &mpic->gregs, MPIC_INFO(GREG_BASE), 0x1000); in mpic_alloc() 1419 mpic_write(mpic->gregs, MPIC_INFO(GREG_GLOBAL_CONF_0), in mpic_alloc() 1420 mpic_read(mpic->gregs, MPIC_INFO(GREG_GLOBAL_CONF_0)) in mpic_alloc() 1422 while( mpic_read(mpic->gregs, MPIC_INFO(GREG_GLOBAL_CONF_0)) in mpic_alloc() 1429 mpic_write(mpic->gregs, MPIC_INFO(GREG_GLOBAL_CONF_0), in mpic_alloc() 1430 mpic_read(mpic->gregs, MPIC_INFO(GREG_GLOBAL_CONF_0)) in mpic_alloc() [all …]
|
/arch/nios2/include/uapi/asm/ |
D | sigcontext.h | 28 unsigned long gregs[32]; member
|
/arch/m68k/include/asm/ |
D | ucontext.h | 16 gregset_t gregs; member
|
/arch/powerpc/include/asm/ |
D | elf.h | 54 #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 | 94 elf_greg_t64 *gregs = (elf_greg_t64 *)regs; in __unsafe_save_general_regs() local 102 val = gregs[i]; in __unsafe_save_general_regs() 115 elf_greg_t64 *gregs = (elf_greg_t64 *)regs; in __unsafe_restore_general_regs() local 121 unsafe_get_user(gregs[i], &sr->mc_gregs[i], failed); in __unsafe_restore_general_regs()
|