Home
last modified time | relevance | path

Searched refs:_regs (Results 1 – 15 of 15) sorted by relevance

/arch/x86/um/asm/
Delf.h149 #define ELF_CORE_COPY_REGS(pr_reg, _regs) \ argument
150 (pr_reg)[0] = (_regs)->regs.gp[0]; \
151 (pr_reg)[1] = (_regs)->regs.gp[1]; \
152 (pr_reg)[2] = (_regs)->regs.gp[2]; \
153 (pr_reg)[3] = (_regs)->regs.gp[3]; \
154 (pr_reg)[4] = (_regs)->regs.gp[4]; \
155 (pr_reg)[5] = (_regs)->regs.gp[5]; \
156 (pr_reg)[6] = (_regs)->regs.gp[6]; \
157 (pr_reg)[7] = (_regs)->regs.gp[7]; \
158 (pr_reg)[8] = (_regs)->regs.gp[8]; \
[all …]
/arch/h8300/include/asm/
Dprocessor.h80 #define start_thread(_regs, _pc, _usp) \ argument
82 (_regs)->pc = (_pc); \
83 (_regs)->ccr = 0x00; /* clear all flags */ \
84 (_regs)->er5 = current->mm->start_data; /* GOT base */ \
85 (_regs)->sp = ((unsigned long)(_usp)) - sizeof(unsigned long) * 3; \
89 #define start_thread(_regs, _pc, _usp) \ argument
91 (_regs)->pc = (_pc); \
92 (_regs)->ccr = 0x00; /* clear kernel flag */ \
93 (_regs)->exr = 0x78; /* enable all interrupts */ \
94 (_regs)->er5 = current->mm->start_data; /* GOT base */ \
[all …]
/arch/csky/include/asm/
Dprocessor.h61 #define start_thread(_regs, _pc, _usp) \ argument
64 (_regs)->pc = (_pc); \
65 (_regs)->regs[1] = 0; /* ABIV1 is R7, uClibc_main rtdl arg */ \
66 (_regs)->regs[2] = 0; \
67 (_regs)->regs[3] = 0; /* ABIV2 is R7, use it? */ \
68 (_regs)->sr &= ~PS_S; \
69 (_regs)->usp = (_usp); \
/arch/c6x/include/asm/
Delf.h33 #define ELF_FDPIC_PLAT_INIT(_regs, _exec_map, _interp_map, _dynamic_addr) \ argument
35 _regs->b4 = (_exec_map); \
36 _regs->a6 = (_interp_map); \
37 _regs->b6 = (_dynamic_addr); \
62 #define ELF_CORE_COPY_REGS(_dest, _regs) \ argument
63 memcpy((char *) &_dest, (char *) _regs, \
/arch/arm/probes/
Ddecode.h304 #define DECODE_HEADER(_type, _mask, _value, _regs) \ argument
305 {.bits = (_type) | ((_regs) << DECODE_TYPE_BITS)}, \
335 #define DECODE_SIMULATEX(_mask, _value, _handler, _regs) \ argument
336 DECODE_HEADER(DECODE_TYPE_SIMULATE, _mask, _value, _regs), \
348 #define DECODE_EMULATEX(_mask, _value, _handler, _regs) \ argument
349 DECODE_HEADER(DECODE_TYPE_EMULATE, _mask, _value, _regs), \
/arch/m68k/include/asm/
Dprocessor.h103 #define setframeformat(_regs) do { (_regs)->format = 0x4; } while(0) argument
105 #define setframeformat(_regs) do { } while (0) argument
/arch/ia64/include/asm/
Dptrace.h90 struct pt_regs *_regs = (regs); \
91 !user_mode(_regs) && user_stack(_task, _regs); \
Delf.h192 #define ELF_CORE_COPY_REGS(_dest,_regs) ia64_elf_core_copy_regs(_regs, _dest); argument
Dprocessor.h338 struct pt_regs *_regs = task_pt_regs(tsk); \
339 _regs->cr_iip + ia64_psr(_regs)->ri; \
/arch/microblaze/include/uapi/asm/
Delf.h87 #define ELF_CORE_COPY_REGS(_dest, _regs) \ argument
88 memcpy((char *) &_dest, (char *) _regs, \
/arch/sh/include/asm/
Dptrace.h17 #define kernel_stack_pointer(_regs) ((unsigned long)(_regs)->regs[15]) argument
Delf.h116 #define ELF_CORE_COPY_REGS(_dest,_regs) \ argument
117 memcpy((char *) &_dest, (char *) _regs, \
/arch/alpha/kernel/
Dtraps.c433 #define una_reg(r) (_regs[(r) >= 16 && (r) <= 18 ? (r)+19 : (r)])
442 unsigned long *_regs = regs->regs; in do_entUna() local
/arch/x86/kvm/
Dkvm_emulate.h371 unsigned long _regs[NR_VCPU_REGS]; member
Demulate.c247 ctxt->_regs[nr] = ctxt->ops->read_gpr(ctxt, nr); in reg_read()
249 return ctxt->_regs[nr]; in reg_read()
256 return &ctxt->_regs[nr]; in reg_write()
270 ctxt->ops->write_gpr(ctxt, reg, ctxt->_regs[reg]); in writeback_registers()