Home
last modified time | relevance | path

Searched refs:valptr (Results 1 – 4 of 4) sorted by relevance

/arch/cris/arch-v10/kernel/
Dkgdb.c267 static int write_stack_register(int thread_id, int regno, char *valptr);
271 static int read_register (char regno, unsigned int *valptr);
592 write_stack_register (int thread_id, int regno, char *valptr) in write_stack_register() argument
598 hex2mem ((unsigned char *)&val, valptr, sizeof(unsigned int)); in write_stack_register()
627 read_register (char regno, unsigned int *valptr) in read_register() argument
633 *valptr = *(unsigned int *)((char *)current_reg + regno * sizeof(unsigned int)); in read_register()
638 *valptr = (unsigned int)(*(unsigned char *) in read_register()
644 *valptr = (unsigned int)(*(unsigned short *) in read_register()
650 *valptr = *(unsigned int *)((char *)&(current_reg->p8) in read_register()
/arch/cris/arch-v32/kernel/
Dkgdb.c379 static int read_register(char regno, unsigned int *valptr);
588 read_register(char regno, unsigned int *valptr) in read_register() argument
597 *valptr = *(unsigned int *)((char *)&reg.r0 + (regno - R0) * sizeof(unsigned int)); in read_register()
601 *valptr = (unsigned int)(*(unsigned char *) in read_register()
606 *valptr = *(unsigned int *)((char *)&reg.pid); in read_register()
610 *valptr = (unsigned int)(*(unsigned char *)((char *)&reg.srs)); in read_register()
614 *valptr = (unsigned int)(*(unsigned short *)(char *)&reg.wz); in read_register()
618 *valptr = *(unsigned int *)((char *)&reg.exs + (regno - EXS) * sizeof(unsigned int)); in read_register()
622 …*valptr = *(unsigned int *)((char *)&sreg.s0_0 + (reg.srs * 16 * sizeof(unsigned int)) + (regno - … in read_register()
/arch/x86/include/asm/
Dkvm_emulate.h235 char valptr[sizeof(unsigned long) + 2]; member
/arch/x86/kvm/
Demulate.c2109 memcpy(&sel, ctxt->src.valptr + ctxt->op_bytes, 2); in em_jmp_far()
2116 memcpy(&ctxt->_eip, ctxt->src.valptr, ctxt->op_bytes); in em_jmp_far()
2249 memcpy(&sel, ctxt->src.valptr + ctxt->op_bytes, 2); in em_lseg()
3065 memcpy(&sel, ctxt->src.valptr + ctxt->op_bytes, 2); in em_call_far()
3070 memcpy(&ctxt->_eip, ctxt->src.valptr, ctxt->op_bytes); in em_call_far()
3146 memcpy(ctxt->dst.valptr, ctxt->src.valptr, ctxt->op_bytes); in em_mov()
4249 insn_fetch_arr(op->valptr, op->bytes, ctxt); in decode_operand()
4657 ctxt->src.valptr, ctxt->src.bytes); in x86_emulate_insn()