Home
last modified time | relevance | path

Searched refs:arch (Results 1 – 25 of 302) sorted by relevance

12345678910>>...13

/external/valgrind/main/coregrind/m_initimg/
Dinitimg-aix5.c297 ThreadArchState* arch = &VG_(threads)[1].arch; in VG_() local
305 LibVEX_GuestPPC32_initialise(&arch->vex); in VG_()
308 VG_(memset)(&arch->vex_shadow1, 0, sizeof(VexGuestPPC32State)); in VG_()
309 VG_(memset)(&arch->vex_shadow2, 0, sizeof(VexGuestPPC32State)); in VG_()
317 LibVEX_GuestPPC64_initialise(&arch->vex); in VG_()
320 VG_(memset)(&arch->vex_shadow1, 0, sizeof(VexGuestPPC64State)); in VG_()
321 VG_(memset)(&arch->vex_shadow2, 0, sizeof(VexGuestPPC64State)); in VG_()
331 arch->vex.guest_GPR0 = (UWord)iifii.intregs37[0]; in VG_()
332 arch->vex.guest_GPR1 = (UWord)iifii.intregs37[1]; in VG_()
333 arch->vex.guest_GPR2 = (UWord)iifii.intregs37[2]; in VG_()
[all …]
Dinitimg-linux.c960 ThreadArchState* arch = &VG_(threads)[1].arch; in VG_() local
970 LibVEX_GuestX86_initialise(&arch->vex); in VG_()
973 VG_(memset)(&arch->vex_shadow1, 0, sizeof(VexGuestX86State)); in VG_()
974 VG_(memset)(&arch->vex_shadow2, 0, sizeof(VexGuestX86State)); in VG_()
977 arch->vex.guest_ESP = iifii.initial_client_SP; in VG_()
978 arch->vex.guest_EIP = iifii.initial_client_IP; in VG_()
982 asm volatile("movw %%cs, %0" : : "m" (arch->vex.guest_CS)); in VG_()
983 asm volatile("movw %%ds, %0" : : "m" (arch->vex.guest_DS)); in VG_()
984 asm volatile("movw %%ss, %0" : : "m" (arch->vex.guest_SS)); in VG_()
991 LibVEX_GuestAMD64_initialise(&arch->vex); in VG_()
[all …]
/external/valgrind/main/coregrind/m_coredump/
Dcoredump-elf.c226 ThreadArchState* arch = (ThreadArchState*)&tst->arch; in fill_prstatus() local
246 regs->eflags = LibVEX_GuestX86_get_eflags( &arch->vex ); in fill_prstatus()
247 regs->esp = arch->vex.guest_ESP; in fill_prstatus()
248 regs->eip = arch->vex.guest_EIP; in fill_prstatus()
250 regs->ebx = arch->vex.guest_EBX; in fill_prstatus()
251 regs->ecx = arch->vex.guest_ECX; in fill_prstatus()
252 regs->edx = arch->vex.guest_EDX; in fill_prstatus()
253 regs->esi = arch->vex.guest_ESI; in fill_prstatus()
254 regs->edi = arch->vex.guest_EDI; in fill_prstatus()
255 regs->ebp = arch->vex.guest_EBP; in fill_prstatus()
[all …]
/external/valgrind/main/tests/
Darch_test.c34 static Bool go(char* arch) in go() argument
37 if ( 0 == strcmp( arch, "x86" ) ) return True; in go()
40 if ( 0 == strcmp( arch, "x86" ) ) return True; in go()
41 if ( 0 == strcmp( arch, "amd64" ) ) return True; in go()
44 if ( 0 == strcmp( arch, "ppc32" ) ) return True; in go()
47 if ( 0 == strcmp( arch, "ppc64" ) ) return True; in go()
48 if ( 0 == strcmp( arch, "ppc32" ) ) return True; in go()
53 if ( 0 == strcmp( arch, "ppc64" ) ) return True; in go()
54 if ( 0 == strcmp( arch, "ppc32" ) ) return True; in go()
56 if ( 0 == strcmp( arch, "ppc32" ) ) return True; in go()
[all …]
/external/valgrind/main/coregrind/m_sigframe/
Dsigframe-amd64-linux.c343 # define SC2(reg,REG) sc->reg = tst->arch.vex.guest_##REG in synth_ucontext()
362 sc->eflags = LibVEX_GuestAMD64_get_rflags(&tst->arch.vex); in synth_ucontext()
428 frame->vex_shadow1 = tst->arch.vex_shadow1; in build_vg_sigframe()
429 frame->vex_shadow2 = tst->arch.vex_shadow2; in build_vg_sigframe()
431 frame->vex = tst->arch.vex; in build_vg_sigframe()
482 = (void*)tst->arch.vex.guest_RIP; in build_rt_sigframe()
519 tst->arch.vex.guest_RIP = (Addr) handler; in VG_()
520 tst->arch.vex.guest_RDI = (ULong) siginfo->si_signo; in VG_()
521 tst->arch.vex.guest_RSI = (Addr) &frame->sigInfo; in VG_()
522 tst->arch.vex.guest_RDX = (Addr) &frame->uContext; in VG_()
[all …]
Dsigframe-ppc64-linux.c120 do { tst->arch.vex.guest_LR = (zzval); \
127 do { tst->arch.vex.guest_GPR##zzn = (zzval); \
224 *(Addr *)sp = tst->arch.vex.guest_GPR1; in VG_()
230 faultaddr = tst->arch.vex.guest_CIA; in VG_()
244 = tst->arch.vex.guest_GPR##gpr in VG_()
251 frame->uc.uc_mcontext.gp_regs[VKI_PT_NIP] = tst->arch.vex.guest_CIA; in VG_()
253 frame->uc.uc_mcontext.gp_regs[VKI_PT_ORIG_R3] = tst->arch.vex.guest_GPR3; in VG_()
254 frame->uc.uc_mcontext.gp_regs[VKI_PT_CTR] = tst->arch.vex.guest_CTR; in VG_()
255 frame->uc.uc_mcontext.gp_regs[VKI_PT_LNK] = tst->arch.vex.guest_LR; in VG_()
257 &tst->arch.vex); in VG_()
[all …]
Dsigframe-x86-linux.c367 # define SC2(reg,REG) sc->reg = tst->arch.vex.guest_##REG in synth_ucontext()
384 sc->eflags = LibVEX_GuestX86_get_eflags(&tst->arch.vex); in synth_ucontext()
448 frame->vex_shadow1 = tst->arch.vex_shadow1; in build_vg_sigframe()
449 frame->vex_shadow2 = tst->arch.vex_shadow2; in build_vg_sigframe()
451 frame->vex = tst->arch.vex; in build_vg_sigframe()
566 = (void*)tst->arch.vex.guest_EIP; in build_rt_sigframe()
606 tst->arch.vex.guest_EIP = (Addr) handler; in VG_()
613 esp, tst->arch.vex.guest_EIP, tst->status); in VG_()
639 tst->arch.vex_shadow1 = frame->vex_shadow1; in restore_vg_sigframe()
640 tst->arch.vex_shadow2 = frame->vex_shadow2; in restore_vg_sigframe()
[all …]
Dsigframe-ppc32-linux.c122 do { tst->arch.vex.guest_LR = (zzval); \
129 do { tst->arch.vex.guest_GPR##zzn = (zzval); \
145 # define DO(gpr) mc->mc_gregs[VKI_PT_R0+gpr] = tst->arch.vex.guest_GPR##gpr in stack_mcontext()
152 mc->mc_gregs[VKI_PT_NIP] = tst->arch.vex.guest_CIA; in stack_mcontext()
154 mc->mc_gregs[VKI_PT_ORIG_R3] = tst->arch.vex.guest_GPR3; in stack_mcontext()
155 mc->mc_gregs[VKI_PT_CTR] = tst->arch.vex.guest_CTR; in stack_mcontext()
156 mc->mc_gregs[VKI_PT_LNK] = tst->arch.vex.guest_LR; in stack_mcontext()
157 mc->mc_gregs[VKI_PT_XER] = LibVEX_GuestPPC32_get_XER(&tst->arch.vex); in stack_mcontext()
158 mc->mc_gregs[VKI_PT_CCR] = LibVEX_GuestPPC32_get_CR(&tst->arch.vex); in stack_mcontext()
702 *(Addr *)sp = tst->arch.vex.guest_GPR1; in VG_()
[all …]
Dsigframe-ppc32-aix5.c96 do { tst->arch.vex.guest_LR = (zzval); \
103 do { tst->arch.vex.guest_GPR##zzn = (zzval); \
146 frame->gst = tst->arch.vex; in VG_()
147 frame->gshadow1 = tst->arch.vex_shadow1; in VG_()
148 frame->gshadow2 = tst->arch.vex_shadow2; in VG_()
157 *(Addr*)sp = tst->arch.vex.guest_GPR1; in VG_()
167 tst->arch.vex.guest_CIA = ((UWord*)handler)[0]; in VG_()
189 sp, tst->arch.vex.guest_CIA, tst->status); in VG_()
208 sp = tst->arch.vex.guest_GPR1; in VG_()
217 tst->arch.vex = frame->gst; in VG_()
[all …]
Dsigframe-ppc64-aix5.c96 do { tst->arch.vex.guest_LR = (zzval); \
103 do { tst->arch.vex.guest_GPR##zzn = (zzval); \
146 frame->gst = tst->arch.vex; in VG_()
147 frame->gshadow1 = tst->arch.vex_shadow1; in VG_()
148 frame->gshadow2 = tst->arch.vex_shadow2; in VG_()
157 *(Addr*)sp = tst->arch.vex.guest_GPR1; in VG_()
167 tst->arch.vex.guest_CIA = ((UWord*)handler)[0]; in VG_()
189 sp, tst->arch.vex.guest_CIA, tst->status); in VG_()
211 sp = tst->arch.vex.guest_GPR1; in VG_()
251 tst->arch.vex = frame->gst; in VG_()
[all …]
Dsigframe-amd64-darwin.c144 frame->gst = tst->arch.vex; in VG_()
145 frame->gshadow1 = tst->arch.vex_shadow1; in VG_()
146 frame->gshadow2 = tst->arch.vex_shadow2; in VG_()
171 tst->arch.vex.guest_RDI = (ULong) sigNo; in VG_()
172 tst->arch.vex.guest_RSI = (Addr) &frame->fake_siginfo;/* oh well */ in VG_()
173 tst->arch.vex.guest_RDX = (Addr) &frame->fake_ucontext; /* oh well */ in VG_()
214 tst->arch.vex = frame->gst; in VG_()
215 tst->arch.vex_shadow1 = frame->gshadow1; in VG_()
216 tst->arch.vex_shadow2 = frame->gshadow2; in VG_()
224 tid, tst->arch.vex.guest_RIP); in VG_()
Dsigframe-arm-linux.c126 # define SC2(reg,REG) sc->arm_##reg = tst->arch.vex.guest_##REG in synth_ucontext()
182 priv->vex_shadow1 = tst->arch.vex_shadow1; in build_sigframe()
183 priv->vex_shadow2 = tst->arch.vex_shadow2; in build_sigframe()
229 rsf->info._sifields._sigfault._addr = (Addr *) (tst)->arch.vex.guest_R12; /* IP */ in VG_()
236 tst->arch.vex.guest_R1 = (Addr)&rsf->info; in VG_()
237 tst->arch.vex.guest_R2 = (Addr)&rsf->sig.uc; in VG_()
247 tst->arch.vex.guest_R0 = sigNo; in VG_()
250 tst->arch.vex.guest_R14 = (Addr) restorer; in VG_()
252 tst->arch.vex.guest_R15T = (Addr) handler; /* R15 == PC */ in VG_()
273 sp = tst->arch.vex.guest_R13; in VG_()
[all …]
/external/v8/tools/gcmole/
Dgcmole.lua130 local function FilesForArch(arch)
132 arch = arch,
209 local function GenerateGCSuspects(arch, files, cfg)
210 log ("** Building GC Suspects for %s", arch)
220 log ("** GCSuspects generated for %s", arch)
226 local function CheckCorrectnessForArch(arch)
227 local files = FilesForArch(arch)
228 local cfg = ARCHITECTURES[arch]
230 GenerateGCSuspects(arch, files, cfg)
245 log("** Searching for evaluation order problems for %s", arch)
[all …]
/external/valgrind/main/coregrind/m_syswrap/
Dsyswrap-ppc64-aix5.c320 void VG_(cleanup_thread) ( ThreadArchState* arch ) in VG_()
535 dst_ts->arch.vex.guest_GPR0 = ats_new->mst.gpr[0]; in PRE()
536 dst_ts->arch.vex.guest_GPR1 = ats_new->mst.gpr[1]; /* sp */ in PRE()
537 dst_ts->arch.vex.guest_GPR2 = ats_new->mst.gpr[2]; /* toc */ in PRE()
538 dst_ts->arch.vex.guest_GPR3 = ats_new->mst.gpr[3]; /* initarg */ in PRE()
539 dst_ts->arch.vex.guest_GPR4 = ats_new->mst.gpr[4]; in PRE()
540 dst_ts->arch.vex.guest_GPR5 = ats_new->mst.gpr[5]; in PRE()
541 dst_ts->arch.vex.guest_GPR6 = ats_new->mst.gpr[6]; in PRE()
542 dst_ts->arch.vex.guest_GPR7 = ats_new->mst.gpr[7]; in PRE()
543 dst_ts->arch.vex.guest_GPR8 = ats_new->mst.gpr[8]; in PRE()
[all …]
Dsyswrap-ppc32-aix5.c320 void VG_(cleanup_thread) ( ThreadArchState* arch ) in VG_()
625 dst_ts->arch.vex.guest_GPR0 = ats_new->mst.gpr[0]; in PRE()
626 dst_ts->arch.vex.guest_GPR1 = ats_new->mst.gpr[1]; /* sp */ in PRE()
627 dst_ts->arch.vex.guest_GPR2 = ats_new->mst.gpr[2]; /* toc */ in PRE()
628 dst_ts->arch.vex.guest_GPR3 = ats_new->mst.gpr[3]; /* initarg */ in PRE()
629 dst_ts->arch.vex.guest_GPR4 = ats_new->mst.gpr[4]; in PRE()
630 dst_ts->arch.vex.guest_GPR5 = ats_new->mst.gpr[5]; in PRE()
631 dst_ts->arch.vex.guest_GPR6 = ats_new->mst.gpr[6]; in PRE()
632 dst_ts->arch.vex.guest_GPR7 = ats_new->mst.gpr[7]; in PRE()
633 dst_ts->arch.vex.guest_GPR8 = ats_new->mst.gpr[8]; in PRE()
[all …]
/external/valgrind/main/
DAndroid.mk18 arch := arm
20 arch := x86
22 ifdef arch
28 -DVGA_$(arch)=1 \
30 -DVGP_$(arch)_linux=1 \
55 # Build libvex-($arch)-linux.a
/external/valgrind/main/coregrind/
Dm_machine.c47 return INSTR_PTR( VG_(threads)[tid].arch ); in VG_()
50 return STACK_PTR( VG_(threads)[tid].arch ); in VG_()
53 return FRAME_PTR( VG_(threads)[tid].arch ); in VG_()
57 INSTR_PTR( VG_(threads)[tid].arch ) = ip; in VG_()
60 STACK_PTR( VG_(threads)[tid].arch ) = sp; in VG_()
67 regs->r_pc = (ULong)VG_(threads)[tid].arch.vex.guest_EIP; in VG_()
68 regs->r_sp = (ULong)VG_(threads)[tid].arch.vex.guest_ESP; in VG_()
70 = VG_(threads)[tid].arch.vex.guest_EBP; in VG_()
72 regs->r_pc = VG_(threads)[tid].arch.vex.guest_RIP; in VG_()
73 regs->r_sp = VG_(threads)[tid].arch.vex.guest_RSP; in VG_()
[all …]
Dlauncher-darwin.c207 const char *arch; in main() local
318 arch = NULL; in main()
323 arch = valid_archs[i].valgrind_name; in main()
328 assert(NULL != arch); in main()
330 arch, archname); in main()
337 arch = default_arch; in main()
339 else if ((arch = select_arch(clientname, default_cputype,default_arch))) { in main()
341 VG_(debugLog)(1, "launcher", "selected arch '%s'\n", arch); in main()
348 arch = default_arch; in main()
410 asprintf(&toolfile, "%s/%s-%s-darwin", valgrind_lib, toolname, arch); in main()
[all …]
/external/strace/
Dconfigure.ac47 arch=i386
51 arch=ia64
55 arch=m68k
59 arch=sparc64
63 arch=sparc
67 arch=mips
71 arch=alpha
75 arch=powerpc
79 arch=arm
83 arch=s390
[all …]
/external/oprofile/m4/
Dconfigmodule.m442 arch="unknown"
47 test "$x86" = 1 && arch="x86"
49 if test "$arch" = "unknown"; then
53 test "$ia64" = 1 && arch="ia64"
56 test "$arch" = "unknown" && AC_MSG_ERROR(Unsupported architecture)
58 dnl check to see if kernel verion appropriate for arch
59 AC_MSG_CHECKING(arch/kernel version combination)
60 case "$arch" in
63 AC_MSG_ERROR([unsupported arch/kernel])) ;;
77 OPROFILE_MODULE_ARCH=$arch
/external/chromium/build/
Dinstall-chroot.sh121 arch=
127 read arch
128 [ "${arch}" == 32 -o "${arch}" == 64 ] && break
130 [ "${arch}" == 32 ] && archflag="--arch i386" || archflag="--arch amd64"
131 arch="${arch}bit"
133 target="${distname}${arch}"
189 description=${brand} ${distname} ${arch}
196 personality=linux$([ "${arch}" != 64bit ] && echo 32)
282 "${host_distro}" = "${distname}" -a "${arch}" = 32bit ] && \
317 Successfully installed ${distname} ${arch}
/external/qemu/hw/
Dfw_cfg.c56 int arch = !!(s->cur_entry & FW_CFG_ARCH_LOCAL); in fw_cfg_write() local
57 FWCfgEntry *e = &s->entries[arch][s->cur_entry & FW_CFG_ENTRY_MASK]; in fw_cfg_write()
90 int arch = !!(s->cur_entry & FW_CFG_ARCH_LOCAL); in fw_cfg_read() local
91 FWCfgEntry *e = &s->entries[arch][s->cur_entry & FW_CFG_ENTRY_MASK]; in fw_cfg_read()
191 int arch = !!(key & FW_CFG_ARCH_LOCAL); in fw_cfg_add_bytes() local
198 s->entries[arch][key].data = data; in fw_cfg_add_bytes()
199 s->entries[arch][key].len = len; in fw_cfg_add_bytes()
235 int arch = !!(key & FW_CFG_ARCH_LOCAL); in fw_cfg_add_callback() local
245 s->entries[arch][key].data = data; in fw_cfg_add_callback()
246 s->entries[arch][key].len = len; in fw_cfg_add_callback()
[all …]
/external/valgrind/main/coregrind/m_ume/
Dmacho.c659 struct fat_arch arch; in load_fat_file() local
660 if (arch_offset + sizeof(arch) > size) { in load_fat_file()
665 res = VG_(pread)(fd, &arch, sizeof(arch), arch_offset); in load_fat_file()
666 arch_offset += sizeof(arch); in load_fat_file()
667 if (sr_isError(res) || sr_Res(res) != sizeof(arch)) { in load_fat_file()
669 arch.cputype, (ULong)arch_offset); in load_fat_file()
673 arch.cputype = VG_(ntohl)(arch.cputype); in load_fat_file()
674 arch.cpusubtype = VG_(ntohl)(arch.cpusubtype); in load_fat_file()
675 arch.offset = VG_(ntohl)(arch.offset); in load_fat_file()
676 arch.size = VG_(ntohl)(arch.size); in load_fat_file()
[all …]
/external/valgrind/main/coregrind/m_scheduler/
Dscheduler.c440 VG_(cleanup_thread)(&VG_(threads)[tid].arch); in mostly_clear_thread_record()
607 Addr a_vex = (Addr) & tst->arch.vex; in do_pre_run_checks()
608 Addr a_vexsh1 = (Addr) & tst->arch.vex_shadow1; in do_pre_run_checks()
609 Addr a_vexsh2 = (Addr) & tst->arch.vex_shadow2; in do_pre_run_checks()
610 Addr a_spill = (Addr) & tst->arch.vex_spill; in do_pre_run_checks()
611 UInt sz_vex = (UInt) sizeof tst->arch.vex; in do_pre_run_checks()
612 UInt sz_vexsh1 = (UInt) sizeof tst->arch.vex_shadow1; in do_pre_run_checks()
613 UInt sz_vexsh2 = (UInt) sizeof tst->arch.vex_shadow2; in do_pre_run_checks()
614 UInt sz_spill = (UInt) sizeof tst->arch.vex_spill; in do_pre_run_checks()
661 vg_assert(VG_IS_16_ALIGNED(& tst->arch.vex.guest_VR0)); in do_pre_run_checks()
[all …]
/external/chromium/chrome/common/extensions/docs/images/intermediate/
DREADME.txt12 overview-arch.graffle
14 An OmniGraffle file used to create the arch-* figures in overview.html.
15 Turn different layers on and off to get the figures. E.g., arch-1.gif
20 overview-arch.svg
22 SVG version of overview-arch.graffle, since OmniGraffle is Mac-only. Hope

12345678910>>...13