/external/libffi/src/alpha/ |
ffi.c | 179 unsigned int *tramp; local 181 tramp = (unsigned int *) &closure->tramp[0]; 182 tramp[0] = 0x47fb0401; /* mov $27,$1 */ 183 tramp[1] = 0xa77b0010; /* ldq $27,16($27) */ 184 tramp[2] = 0x6bfb0000; /* jmp $31,($27),0 */ 185 tramp[3] = 0x47ff041f; /* nop */ 186 *(void **) &tramp[4] = ffi_closure_osf;
|
/external/libffi/src/frv/ |
ffi.c | 255 unsigned int *tramp = (unsigned int *) &closure->tramp[0]; local 266 tramp[0] = &((unsigned int *)codeloc)[2]; 267 tramp[1] = got; 268 tramp[2] = 0x8cfc0000 + (fn & 0xffff); /* setlos lo(fn), gr6 */ 269 tramp[3] = 0x8efc0000 + (cls & 0xffff); /* setlos lo(cls), gr7 */ 270 tramp[4] = 0x8cf80000 + (fn >> 16); /* sethi hi(fn), gr6 */ 271 tramp[5] = 0x8ef80000 + (cls >> 16); /* sethi hi(cls), gr7 */ 272 tramp[6] = 0x9cc86000; /* ldi @(gr6, #0), gr14 */ 273 tramp[7] = 0x8030e000; /* jmpl @(gr14, gr0) * [all...] |
/external/libffi/src/sh64/ |
ffi.c | 302 unsigned int *tramp; local 306 tramp = (unsigned int *) &closure->tramp[0]; 315 tramp[0] = 0x7001c701; 316 tramp[1] = 0x0009402b; 318 tramp[0] = 0xc7017001; 319 tramp[1] = 0x402b0009; 321 tramp[2] = 0xcc000010 | (((UINT32) ffi_closure_SYSV) >> 16) << 10; 322 tramp[3] = 0xc8000010 | (((UINT32) ffi_closure_SYSV) & 0xffff) << 10; 323 tramp[4] = 0x6bf10600 [all...] |
/external/libffi/src/sparc/ |
ffi.c | 435 unsigned int *tramp = (unsigned int *) &closure->tramp[0]; local 442 tramp[0] = 0x83414000; /* rd %pc, %g1 */ 443 tramp[1] = 0xca586010; /* ldx [%g1+16], %g5 */ 444 tramp[2] = 0x81c14000; /* jmp %g5 */ 445 tramp[3] = 0x01000000; /* nop */ 446 *((unsigned long *) &tramp[4]) = fn; 451 tramp[0] = 0x03000000 | fn >> 10; /* sethi %hi(fn), %g1 */ 452 tramp[1] = 0x05000000 | ctx >> 10; /* sethi %hi(ctx), %g2 */ 453 tramp[2] = 0x81c06000 | (fn & 0x3ff); /* jmp %g1+%lo(fn) * [all...] |
/external/libffi/src/pa/ |
ffi.c | 624 UINT32 *tramp = (UINT32 *)(closure->tramp); local 635 tramp[0] = 0xeaa00000; /* b,l .+8,%r21 ; %r21 <- pc+8 */ 636 tramp[1] = 0xd6a01c1e; /* depi 0,31,2,%r21 ; mask priv bits */ 637 tramp[2] = 0x4aa10028; /* ldw 20(%r21),%r1 ; load plabel */ 638 tramp[3] = 0x36b53ff1; /* ldo -8(%r21),%r21 ; get closure addr */ 639 tramp[4] = 0x0c201096; /* ldw 0(%r1),%r22 ; address of handler */ 640 tramp[5] = 0xeac0c000; /* bv%r0(%r22) ; branch to handler */ 641 tramp[6] = 0x0c281093; /* ldw 4(%r1),%r19 ; GP of handler */ 642 tramp[7] = ((UINT32)(ffi_closure_pa32) & ~2) [all...] |
/external/libffi/src/sh/ |
ffi.c | 463 unsigned int *tramp; local 468 tramp = (unsigned int *) &closure->tramp[0]; 475 tramp[0] = 0xd301d102; 476 tramp[1] = 0x0000412b | (insn << 16); 478 tramp[0] = 0xd102d301; 479 tramp[1] = 0x412b0000 | insn; 481 *(void **) &tramp[2] = (void *)codeloc; /* ctx */ 482 *(void **) &tramp[3] = (void *)ffi_closure_SYSV; /* funaddr */
|
/external/valgrind/main/coregrind/m_sigframe/ |
sigframe-ppc64-linux.c | 112 UInt tramp[TRAMP_SIZE]; member in struct:rt_sigframe 280 frame->tramp[0] = 0; /* invalid */ 281 frame->tramp[1] = 0; /* invalid */ 283 (Addr)&frame->tramp, sizeof(frame->tramp)); 286 VG_(discard_translations)( (Addr64)&frame->tramp[0], 287 sizeof(frame->tramp), "stack_mcontext" );
|
/external/libffi/src/ia64/ |
ffi.c | 425 struct ffi_ia64_trampoline_struct *tramp; local 430 tramp = (struct ffi_ia64_trampoline_struct *)closure->tramp; 433 tramp->code_pointer = fd->code_pointer; 434 tramp->real_gp = fd->gp; 435 tramp->fake_gp = (UINT64)(PTR64)codeloc;
|
/external/libffi/src/mips/ |
ffi.c | 572 unsigned int *tramp = (unsigned int *) &closure->tramp[0]; local 586 tramp[0] = 0x3c190000 | ((unsigned)fn >> 16); 588 tramp[1] = 0x37390000 | ((unsigned)fn & 0xffff); 590 tramp[2] = 0x3c0c0000 | ((unsigned)codeloc >> 16); 592 tramp[3] = 0x03200008; 594 tramp[4] = 0x358c0000 | ((unsigned)codeloc & 0xffff); 598 tramp[0] = 0x3c190000 | ((unsigned long)fn >> 48); 600 tramp[1] = 0x3c0c0000 | ((unsigned long)codeloc >> 48); 602 tramp[2] = 0x37390000 | (((unsigned long)fn >> 32 ) & 0xffff) [all...] |
/external/libffi/src/powerpc/ |
ffi_darwin.c | 537 unsigned int *tramp; local 547 tramp = (unsigned int *) &closure->tramp[0]; 548 tramp[0] = 0x7c0802a6; /* mflr r0 */ 549 tramp[1] = 0x429f000d; /* bcl- 20,4*cr7+so,0x10 */ 550 tramp[4] = 0x7d6802a6; /* mflr r11 */ 551 tramp[5] = 0x818b0000; /* lwz r12,0(r11) function address */ 552 tramp[6] = 0x7c0803a6; /* mtlr r0 */ 553 tramp[7] = 0x7d8903a6; /* mtctr r12 */ 554 tramp[8] = 0x816b0004; /* lwz r11,4(r11) static chain * [all...] |
ffi.c | 944 void **tramp = (void **) &closure->tramp[0]; local 948 memcpy (tramp, (char *) ffi_closure_LINUX64, 16); 949 tramp[2] = codeloc; 951 unsigned int *tramp; 955 tramp = (unsigned int *) &closure->tramp[0]; 956 tramp[0] = 0x7c0802a6; /* mflr r0 */ 957 tramp[1] = 0x4800000d; /* bl 10 <trampoline_initial+0x10> */ 958 tramp[4] = 0x7d6802a6; /* mflr r11 * [all...] |
/external/libffi/src/x86/ |
ffi64.c | 444 volatile unsigned short *tramp; local 446 tramp = (volatile unsigned short *) &closure->tramp[0]; 448 tramp[0] = 0xbb49; /* mov <code>, %r11 */ 449 *(void * volatile *) &tramp[1] = ffi_closure_unix64; 450 tramp[5] = 0xba49; /* mov <data>, %r10 */ 451 *(void * volatile *) &tramp[6] = codeloc; 455 tramp[10] = cif->flags & (1 << 11) ? 0x49f9 : 0x49f8; 457 tramp[11] = 0xe3ff; /* jmp *%r11 */
|
/external/libffi/darwin-x86/ |
ffi.h | 253 char tramp[FFI_TRAMPOLINE_SIZE]; member in struct:__anon20369 276 char tramp[FFI_TRAMPOLINE_SIZE]; member in struct:__anon20370 297 char tramp[FFI_TRAMPOLINE_SIZE]; member in struct:__anon20371
|
/external/libffi/include/ |
ffi_real.h | 254 char tramp[FFI_TRAMPOLINE_SIZE]; member in struct:__anon20377 277 char tramp[FFI_TRAMPOLINE_SIZE]; member in struct:__anon20378 298 char tramp[FFI_TRAMPOLINE_SIZE]; member in struct:__anon20379
|