Searched refs:gregs (Results 1 – 11 of 11) sorted by relevance
/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/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/m68k/kernel/ |
D | signal.c | 691 greg_t __user *gregs = uc->uc_mcontext.gregs; in rt_restore_ucontext() local 702 err |= __get_user(regs->d0, &gregs[0]); in rt_restore_ucontext() 703 err |= __get_user(regs->d1, &gregs[1]); in rt_restore_ucontext() 704 err |= __get_user(regs->d2, &gregs[2]); in rt_restore_ucontext() 705 err |= __get_user(regs->d3, &gregs[3]); in rt_restore_ucontext() 706 err |= __get_user(regs->d4, &gregs[4]); in rt_restore_ucontext() 707 err |= __get_user(regs->d5, &gregs[5]); in rt_restore_ucontext() 708 err |= __get_user(sw->d6, &gregs[6]); in rt_restore_ucontext() 709 err |= __get_user(sw->d7, &gregs[7]); in rt_restore_ucontext() 710 err |= __get_user(regs->a0, &gregs[8]); in rt_restore_ucontext() [all …]
|
/arch/powerpc/sysdev/ |
D | mpic.c | 219 return _mpic_read(type, &mpic->gregs, offset); in _mpic_ipi_read() 227 _mpic_write(mpic->reg_type, &mpic->gregs, offset, value); in _mpic_ipi_write() 354 mpic_write(mpic->gregs, MPIC_INFO(GREG_IPI_VECTOR_PRI_0), MPIC_VECPRI_MASK); in mpic_test_broken_ipi() 355 r = mpic_read(mpic->gregs, MPIC_INFO(GREG_IPI_VECTOR_PRI_0)); in mpic_test_broken_ipi() 1375 mpic_map(mpic, mpic->paddr, &mpic->gregs, MPIC_INFO(GREG_BASE), 0x1000); in mpic_alloc() 1437 mpic_write(mpic->gregs, MPIC_INFO(GREG_GLOBAL_CONF_0), in mpic_alloc() 1438 mpic_read(mpic->gregs, MPIC_INFO(GREG_GLOBAL_CONF_0)) in mpic_alloc() 1440 while( mpic_read(mpic->gregs, MPIC_INFO(GREG_GLOBAL_CONF_0)) in mpic_alloc() 1447 mpic_write(mpic->gregs, MPIC_INFO(GREG_GLOBAL_CONF_0), in mpic_alloc() 1448 mpic_read(mpic->gregs, MPIC_INFO(GREG_GLOBAL_CONF_0)) in mpic_alloc() [all …]
|
/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 | 310 struct mpic_reg_bank gregs; member
|
/arch/tile/include/uapi/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/tile/kernel/ |
D | signal.c | 62 err |= __get_user(regs->regs[i], &sc->gregs[i]); in restore_sigcontext() 116 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 | 138 elf_greg_t64 *gregs = (elf_greg_t64 *)regs; in save_general_regs() local 146 if (__put_user((unsigned int)gregs[i], &frame->mc_gregs[i])) in save_general_regs() 155 elf_greg_t64 *gregs = (elf_greg_t64 *)regs; in restore_general_regs() local 161 if (__get_user(gregs[i], &sr->mc_gregs[i])) in restore_general_regs()
|