/external/libunwind/src/aarch64/ |
D | Gresume.c | 43 unsigned long regs[11]; in aarch64_local_resume() local 44 regs[0] = uc->uc_mcontext.regs[19]; in aarch64_local_resume() 45 regs[1] = uc->uc_mcontext.regs[20]; in aarch64_local_resume() 46 regs[2] = uc->uc_mcontext.regs[21]; in aarch64_local_resume() 47 regs[3] = uc->uc_mcontext.regs[22]; in aarch64_local_resume() 48 regs[4] = uc->uc_mcontext.regs[23]; in aarch64_local_resume() 49 regs[5] = uc->uc_mcontext.regs[24]; in aarch64_local_resume() 50 regs[6] = uc->uc_mcontext.regs[25]; in aarch64_local_resume() 51 regs[7] = uc->uc_mcontext.regs[26]; in aarch64_local_resume() 52 regs[8] = uc->uc_mcontext.regs[27]; in aarch64_local_resume() [all …]
|
D | gen-offsets.c | 30 SC ("R0", regs[0]); in main() 31 SC ("R1", regs[1]); in main() 32 SC ("R2", regs[2]); in main() 33 SC ("R3", regs[3]); in main() 34 SC ("R4", regs[4]); in main() 35 SC ("R5", regs[5]); in main() 36 SC ("R6", regs[6]); in main() 37 SC ("R7", regs[7]); in main() 38 SC ("R8", regs[8]); in main() 39 SC ("R9", regs[9]); in main() [all …]
|
/external/linux-kselftest/tools/testing/selftests/x86/ |
D | ptrace_syscall.c | 198 struct user_regs_struct regs; in test_ptrace_syscall_restart() local 205 if (ptrace(PTRACE_GETREGS, chld, 0, ®s) != 0) in test_ptrace_syscall_restart() 208 if (regs.user_syscall_nr != SYS_gettid || in test_ptrace_syscall_restart() 209 regs.user_arg0 != 10 || regs.user_arg1 != 11 || in test_ptrace_syscall_restart() 210 regs.user_arg2 != 12 || regs.user_arg3 != 13 || in test_ptrace_syscall_restart() 211 regs.user_arg4 != 14 || regs.user_arg5 != 15) { in test_ptrace_syscall_restart() 212 …regs.user_syscall_nr, (unsigned long)regs.user_arg0, (unsigned long)regs.user_arg1, (unsigned long… in test_ptrace_syscall_restart() 219 (unsigned long)regs.user_ip); in test_ptrace_syscall_restart() 227 regs.user_ax = regs.user_syscall_nr; in test_ptrace_syscall_restart() 228 regs.user_ip -= 2; in test_ptrace_syscall_restart() [all …]
|
/external/valgrind/none/tests/amd64/ |
D | redundantRexW.c | 39 void pp_XMMRegs ( char* who, XMMRegs* regs ) { in pp_XMMRegs() argument 44 pp_UWord128( ®s->reg[i] ); in pp_XMMRegs() 78 void setup_regs_mem ( XMMRegs* regs, Mem* mem ) { in setup_regs_mem() argument 83 regs->reg[i].b[j] = 0x51 + (ctr++ % 7); in setup_regs_mem() 91 void before_test ( XMMRegs* regs, Mem* mem ) { in before_test() argument 92 setup_regs_mem( regs, mem ); in before_test() 95 void after_test ( char* who, XMMRegs* regs, Mem* mem ) { in after_test() argument 100 xor_XMMRegs( regs, &rdiff ); in after_test() 151 before_test( regs, mem ); 159 : /*out*/ : /*in*/ "r"(regs), "r"( -x + (char*)&mem->dqw[2] ) [all …]
|
/external/syslinux/memdisk/ |
D | dskprobe.c | 43 static void probe_any(uint8_t func, uint8_t drive, com32sys_t * regs) in probe_any() argument 45 regs->eax.b[1] = func; /* AH == sub-function for probe */ in probe_any() 46 regs->edx.b[0] = drive; /* DL == drive number to probe */ in probe_any() 47 intcall(0x13, regs, regs); in probe_any() 74 com32sys_t regs; in probe_int13h_01h() local 76 memset(®s, 0, sizeof regs); in probe_int13h_01h() 77 probe_any(0x01, drive, ®s); in probe_int13h_01h() 78 status = (regs.eflags.l & 1) * 256 + regs.eax.b[1]; in probe_int13h_01h() 79 dskprobe_printf(" AH01: CF%d AH%02x", regs.eflags.l & 1, regs.eax.b[1]); in probe_int13h_01h() 86 static int probe_int13h_08h(uint8_t drive, com32sys_t * regs) in probe_int13h_08h() argument [all …]
|
D | msetup.c | 44 com32sys_t regs; in get_e820() local 46 memset(®s, 0, sizeof regs); in get_e820() 50 regs.eax.l = 0x0000e820; in get_e820() 51 regs.ecx.l = sizeof(*buf); in get_e820() 52 regs.edx.l = 0x534d4150; in get_e820() 53 regs.edi.w[0] = OFFS(buf); in get_e820() 54 regs.es = SEG(buf); in get_e820() 56 intcall(0x15, ®s, ®s); in get_e820() 57 copied = (regs.eflags.l & 1) ? 0 : regs.ecx.l; in get_e820() 59 if (regs.eax.l != 0x534d4150 || copied < 20) in get_e820() [all …]
|
/external/mesa3d/src/util/ |
D | register_allocate.c | 92 struct ra_reg *regs; member 107 BITSET_WORD *regs; member 162 struct ra_regs *regs; member 189 struct ra_regs *regs; in ra_alloc_reg_set() local 191 regs = rzalloc(mem_ctx, struct ra_regs); in ra_alloc_reg_set() 192 regs->count = count; in ra_alloc_reg_set() 193 regs->regs = rzalloc_array(regs, struct ra_reg, count); in ra_alloc_reg_set() 196 regs->regs[i].conflicts = rzalloc_array(regs->regs, BITSET_WORD, in ra_alloc_reg_set() 198 BITSET_SET(regs->regs[i].conflicts, i); in ra_alloc_reg_set() 201 regs->regs[i].conflict_list = ralloc_array(regs->regs, in ra_alloc_reg_set() [all …]
|
/external/libunwind/src/arm/ |
D | Gresume.c | 47 unsigned long regs[10]; in arm_local_resume() local 48 regs[0] = uc->regs[4]; in arm_local_resume() 49 regs[1] = uc->regs[5]; in arm_local_resume() 50 regs[2] = uc->regs[6]; in arm_local_resume() 51 regs[3] = uc->regs[7]; in arm_local_resume() 52 regs[4] = uc->regs[8]; in arm_local_resume() 53 regs[5] = uc->regs[9]; in arm_local_resume() 54 regs[6] = uc->regs[10]; in arm_local_resume() 55 regs[7] = uc->regs[11]; /* FP */ in arm_local_resume() 56 regs[8] = uc->regs[13]; /* SP */ in arm_local_resume() [all …]
|
/external/google-breakpad/src/client/linux/dump_writer_common/ |
D | thread_info.cc | 62 return regs.eip; in GetInstructionPointer() 77 out->gs = regs.xgs; in FillCPUContext() 78 out->fs = regs.xfs; in FillCPUContext() 79 out->es = regs.xes; in FillCPUContext() 80 out->ds = regs.xds; in FillCPUContext() 82 out->edi = regs.edi; in FillCPUContext() 83 out->esi = regs.esi; in FillCPUContext() 84 out->ebx = regs.ebx; in FillCPUContext() 85 out->edx = regs.edx; in FillCPUContext() 86 out->ecx = regs.ecx; in FillCPUContext() [all …]
|
D | ucontext_reader.cc | 53 const greg_t* regs = uc->uc_mcontext.gregs; in FillCPUContext() local 58 out->gs = regs[REG_GS]; in FillCPUContext() 59 out->fs = regs[REG_FS]; in FillCPUContext() 60 out->es = regs[REG_ES]; in FillCPUContext() 61 out->ds = regs[REG_DS]; in FillCPUContext() 63 out->edi = regs[REG_EDI]; in FillCPUContext() 64 out->esi = regs[REG_ESI]; in FillCPUContext() 65 out->ebx = regs[REG_EBX]; in FillCPUContext() 66 out->edx = regs[REG_EDX]; in FillCPUContext() 67 out->ecx = regs[REG_ECX]; in FillCPUContext() [all …]
|
/external/syslinux/gpxe/src/arch/i386/interface/syslinux/ |
D | comboot_call.c | 260 switch ( ix86->regs.ah ) { in int21() 269 ix86->regs.al = getchar( ); in int21() 272 if ( ix86->regs.al == 0x0A ) in int21() 273 ix86->regs.al = 0x0D; in int21() 275 if ( ix86->regs.ah == 0x01 ) in int21() 276 putchar ( ix86->regs.al ); in int21() 282 putchar ( ix86->regs.dl ); in int21() 287 serial_putc ( ix86->regs.dl ); in int21() 292 print_user_string ( ix86->segs.ds, ix86->regs.dx, '$' ); in int21() 298 ix86->regs.al = 0xFF; in int21() [all …]
|
/external/strace/linux/avr32/ |
D | userent.h | 1 { uoff(regs.sr), "sr" }, 2 { uoff(regs.pc), "pc" }, 3 { uoff(regs.lr), "lr" }, 4 { uoff(regs.sp), "sp" }, 5 { uoff(regs.r12), "r12" }, 6 { uoff(regs.r11), "r11" }, 7 { uoff(regs.r10), "r10" }, 8 { uoff(regs.r9), "r9" }, 9 { uoff(regs.r8), "r8" }, 10 { uoff(regs.r7), "r7" }, [all …]
|
/external/linux-kselftest/tools/testing/selftests/powerpc/ptrace/ |
D | ptrace.h | 289 struct fpr_regs *regs; in show_fpr() local 292 regs = (struct fpr_regs *) malloc(sizeof(struct fpr_regs)); in show_fpr() 293 ret = ptrace(PTRACE_GETFPREGS, child, NULL, regs); in show_fpr() 301 fpr[i] = regs->fpr[i]; in show_fpr() 308 struct fpr_regs *regs; in write_fpr() local 311 regs = (struct fpr_regs *) malloc(sizeof(struct fpr_regs)); in write_fpr() 312 ret = ptrace(PTRACE_GETFPREGS, child, NULL, regs); in write_fpr() 319 regs->fpr[i] = val; in write_fpr() 321 ret = ptrace(PTRACE_SETFPREGS, child, NULL, regs); in write_fpr() 331 struct fpr_regs *regs; in show_ckpt_fpr() local [all …]
|
D | ptrace-tm-tar.c | 22 unsigned long regs[3]; in tm_tar() local 77 regs[0] = mfspr(SPRN_TAR); in tm_tar() 78 regs[1] = mfspr(SPRN_PPR); in tm_tar() 79 regs[2] = mfspr(SPRN_DSCR); in tm_tar() 83 user_read, regs[0], regs[1], regs[2]); in tm_tar() 85 ret = validate_tar_registers(regs, TAR_4, PPR_4, DSCR_4); in tm_tar() 96 unsigned long regs[3]; in trace_tm_tar() local 99 FAIL_IF(show_tar_registers(child, regs)); in trace_tm_tar() 101 ptrace_read_running, regs[0], regs[1], regs[2]); in trace_tm_tar() 103 FAIL_IF(validate_tar_registers(regs, TAR_2, PPR_2, DSCR_2)); in trace_tm_tar() [all …]
|
D | ptrace-tm-spd-tar.c | 28 unsigned long regs[3]; in tm_spd_tar() local 88 regs[0] = mfspr(SPRN_TAR); in tm_spd_tar() 89 regs[1] = mfspr(SPRN_PPR); in tm_spd_tar() 90 regs[2] = mfspr(SPRN_DSCR); in tm_spd_tar() 94 user_read, regs[0], regs[1], regs[2]); in tm_spd_tar() 96 ret = validate_tar_registers(regs, TAR_4, PPR_4, DSCR_4); in tm_spd_tar() 107 unsigned long regs[3]; in trace_tm_spd_tar() local 110 FAIL_IF(show_tar_registers(child, regs)); in trace_tm_spd_tar() 112 ptrace_read_running, regs[0], regs[1], regs[2]); in trace_tm_spd_tar() 114 FAIL_IF(validate_tar_registers(regs, TAR_3, PPR_3, DSCR_3)); in trace_tm_spd_tar() [all …]
|
/external/valgrind/coregrind/m_coredump/ |
D | coredump-elf.c | 232 vki_elf_greg_t *regs; in fill_prstatus() local 234 struct vki_user_regs_struct *regs; in fill_prstatus() 253 regs = (struct vki_user_regs_struct *)&(prs->pr_reg); in fill_prstatus() 255 regs = (vki_elf_greg_t *)prs->pr_reg; in fill_prstatus() 257 regs = (struct vki_user_regs_struct *)prs->pr_reg; in fill_prstatus() 258 vg_assert(sizeof(*regs) == sizeof(prs->pr_reg)); in fill_prstatus() 262 regs->eflags = LibVEX_GuestX86_get_eflags( &arch->vex ); in fill_prstatus() 263 regs->esp = arch->vex.guest_ESP; in fill_prstatus() 264 regs->eip = arch->vex.guest_EIP; in fill_prstatus() 266 regs->ebx = arch->vex.guest_EBX; in fill_prstatus() [all …]
|
/external/strace/linux/arm/ |
D | userent.h | 1 { uoff(regs.ARM_r0), "r0" }, 2 { uoff(regs.ARM_r1), "r1" }, 3 { uoff(regs.ARM_r2), "r2" }, 4 { uoff(regs.ARM_r3), "r3" }, 5 { uoff(regs.ARM_r4), "r4" }, 6 { uoff(regs.ARM_r5), "r5" }, 7 { uoff(regs.ARM_r6), "r6" }, 8 { uoff(regs.ARM_r7), "r7" }, 9 { uoff(regs.ARM_r8), "r8" }, 10 { uoff(regs.ARM_r9), "r9" }, [all …]
|
/external/syslinux/gpxe/src/drivers/net/ |
D | via-velocity.c | 224 static void safe_disable_mii_autopoll(struct mac_regs *regs); 226 static void enable_mii_autopoll(struct mac_regs *regs); 229 static u32 mii_check_media_mode(struct mac_regs *regs); 230 static u32 check_connection_type(struct mac_regs *regs); 381 struct mac_regs *regs = vptr->mac_regs; in velocity_init_cam_filter() local 384 WORD_REG_BITS_SET(MCFG_PQEN, MCFG_RTGOPT, ®s->MCFG); in velocity_init_cam_filter() 385 WORD_REG_BITS_ON(MCFG_VIDFR, ®s->MCFG); in velocity_init_cam_filter() 390 mac_set_cam_mask(regs, vptr->vCAMmask, VELOCITY_VLAN_ID_CAM); in velocity_init_cam_filter() 391 mac_set_cam_mask(regs, vptr->mCAMmask, VELOCITY_MULTICAST_CAM); in velocity_init_cam_filter() 398 WORD_REG_BITS_ON(MCFG_RTGOPT, ®s->MCFG); in velocity_init_cam_filter() [all …]
|
/external/syslinux/com32/elflink/ldlinux/ |
D | chainboot.c | 43 struct syslinux_rm_regs regs; in chainboot_file() local 82 memset(®s, 0, sizeof(regs)); in chainboot_file() 83 regs.ip = 0x7c00; in chainboot_file() 92 regs.esi.l = 0x800 - 18; in chainboot_file() 111 regs.eax.l = *(uint32_t *)&stack[36]; in chainboot_file() 112 regs.ecx.l = *(uint32_t *)&stack[32]; in chainboot_file() 113 regs.edx.l = *(uint32_t *)&stack[28]; in chainboot_file() 114 regs.ebx.l = *(uint32_t *)&stack[24]; in chainboot_file() 115 regs.esp.l = sdi->rr.r.esi.w[0] + 44; in chainboot_file() 116 regs.ebp.l = *(uint32_t *)&stack[16]; in chainboot_file() [all …]
|
/external/compiler-rt/test/sanitizer_common/TestCases/Linux/ |
D | ptrace.cc | 33 user_regs_struct regs; in main() local 34 res = ptrace(PTRACE_GETREGS, pid, NULL, ®s); in main() 36 if (regs.rip) in main() 37 printf("%zx\n", regs.rip); in main() 47 struct pt_regs regs; in main() local 48 res = ptrace((enum __ptrace_request)PTRACE_GETREGS, pid, NULL, ®s); in main() 51 if (regs.nip) in main() 52 printf("%lx\n", regs.nip); in main() 54 if (regs.cp0_epc) in main() 55 printf("%lx\n", regs.cp0_epc); in main() [all …]
|
/external/valgrind/coregrind/m_sigframe/ |
D | sigframe-s390x-linux.c | 147 sigregs->regs.gprs[0] = tst->arch.vex.guest_r0; in save_sigregs() 148 sigregs->regs.gprs[1] = tst->arch.vex.guest_r1; in save_sigregs() 149 sigregs->regs.gprs[2] = tst->arch.vex.guest_r2; in save_sigregs() 150 sigregs->regs.gprs[3] = tst->arch.vex.guest_r3; in save_sigregs() 151 sigregs->regs.gprs[4] = tst->arch.vex.guest_r4; in save_sigregs() 152 sigregs->regs.gprs[5] = tst->arch.vex.guest_r5; in save_sigregs() 153 sigregs->regs.gprs[6] = tst->arch.vex.guest_r6; in save_sigregs() 154 sigregs->regs.gprs[7] = tst->arch.vex.guest_r7; in save_sigregs() 155 sigregs->regs.gprs[8] = tst->arch.vex.guest_r8; in save_sigregs() 156 sigregs->regs.gprs[9] = tst->arch.vex.guest_r9; in save_sigregs() [all …]
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_perfcounter.c | 411 struct si_pc_block_base *regs = sigroup->b; in si_pc_get_size() local 412 unsigned layout_multi = regs->layout & SI_PC_MULTI_MASK; in si_pc_get_size() 414 if (regs->layout & SI_PC_FAKE) { in si_pc_get_size() 417 if (count < regs->num_multi) in si_pc_get_size() 418 *num_select_dw = 2 * (count + 2) + regs->num_prelude; in si_pc_get_size() 420 *num_select_dw = 2 + count + regs->num_multi + regs->num_prelude; in si_pc_get_size() 422 *num_select_dw = 4 + count + MIN2(count, regs->num_multi) + regs->num_prelude; in si_pc_get_size() 424 assert(regs->num_prelude == 0); in si_pc_get_size() 425 *num_select_dw = 3 * (count + MIN2(count, regs->num_multi)); in si_pc_get_size() 429 *num_select_dw = 2 + count + MIN2(count, regs->num_multi) + regs->num_prelude; in si_pc_get_size() [all …]
|
/external/valgrind/none/tests/s390x/ |
D | troo.c | 29 troo_regs regs; in tr() local 46 regs.srcaddr = srcaddr; in tr() 47 regs.len = length; in tr() 48 regs.desaddr = desaddr; in tr() 49 regs.tabaddr = codepage2; in tr() 50 regs.testbyte = test_byte; in tr() 51 regs.cc = cc; in tr() 52 return regs; in tr() 58 troo_regs regs; in run_test() local 66 regs = tr(srcaddr, tableaddr, desaddr, len, testbyte); in run_test() [all …]
|
D | trot.c | 30 trot_regs regs; in tr() local 47 regs.srcaddr = srcaddr; in tr() 48 regs.len = length; in tr() 49 regs.desaddr = desaddr; in tr() 50 regs.tabaddr = codepage2; in tr() 51 regs.testbyte = test_byte; in tr() 52 regs.cc = cc; in tr() 53 return regs; in tr() 59 trot_regs regs; in run_test() local 67 regs = tr(srcaddr, tableaddr, desaddr, len, testbyte); in run_test() [all …]
|
/external/valgrind/coregrind/ |
D | vgdb-invoker-ptrace.c | 552 Bool getregs (pid_t pid, void *regs, long regs_bsz) in getregs() argument 569 iovec.iov_base = regs; in getregs() 607 res = ptrace (PTRACE_GETREGS, pid, NULL, regs); in getregs() 645 char *pregs = (char *) regs; in getregs() 668 Bool setregs (pid_t pid, void *regs, long regs_bsz) in setregs() argument 685 iovec.iov_base = regs; in setregs() 705 res = ptrace (PTRACE_SETREGS, pid, NULL, regs); in setregs() 715 char *pregs = (char *) regs; in setregs() 760 if (!setregs(pid_of_save_regs, &user_save.regs, sizeof(user_save.regs))) { in restore_and_detach() 839 if (!getregs(pid, &user_mod.regs, sizeof(user_mod.regs))) { in invoker_invoke_gdbserver() [all …]
|