/dports/misc/rump/buildrump.sh-b914579/src/lib/libc/arch/hppa/gen/ |
H A D | _lwp.c | 49 __greg_t *gr; in _lwp_makecontext() 50 __greg_t *gp; in _lwp_makecontext() 51 __greg_t fp; in _lwp_makecontext() 61 fp = (__greg_t)start; in _lwp_makecontext() 63 gp = (__greg_t *)(fp & ~3); in _lwp_makecontext() 69 gr[_REG_RP] = (__greg_t) _lwp_exit; in _lwp_makecontext() 70 gr[_REG_ARG0] = (__greg_t) arg; in _lwp_makecontext() 71 gr[_REG_SP] = (__greg_t) sp; in _lwp_makecontext() 72 gr[_REG_CR27] = (__greg_t) private; in _lwp_makecontext()
|
H A D | makecontext.c | 52 __greg_t *gr = ucp->uc_mcontext.__gregs; in makecontext() 53 __greg_t *gp, rp, fp; in makecontext() 54 register __greg_t dp __asm("r27"); in makecontext() 68 gr[_REG_SP] = (__greg_t)sp; in makecontext() 69 rp = (__greg_t)__resumecontext; in makecontext() 71 gp = (__greg_t *)(rp & ~3); in makecontext() 76 fp = (__greg_t)func; in makecontext() 78 gp = (__greg_t *)(fp & ~3); in makecontext()
|
/dports/misc/rump/buildrump.sh-b914579/src/lib/libc/arch/mips/gen/ |
H A D | makecontext.c | 49 __greg_t *gr = ucp->uc_mcontext.__gregs; in makecontext() 50 __greg_t *sp; in makecontext() 55 sp = (__greg_t *) in makecontext() 60 sp = (__greg_t *) in makecontext() 64 sp = (__greg_t *) in makecontext() 79 gr[_REG_A0 + i] = va_arg(ap, __greg_t); in makecontext() 87 gr[_REG_A0 + i] = va_arg(ap, __greg_t); in makecontext() 93 *sp++ = va_arg(ap, __greg_t); in makecontext()
|
/dports/misc/rump/buildrump.sh-b914579/src/lib/libc/arch/powerpc64/gen/ |
H A D | makecontext.c | 51 __greg_t *gr = ucp->uc_mcontext.__gregs; in makecontext() 52 __greg_t sp, *spp; in makecontext() 56 sp = (__greg_t) ((uintptr_t)ucp->uc_stack.ss_sp in makecontext() 59 sp = (__greg_t) ((uintptr_t)sp & ~0xf); in makecontext() 66 gr[_REG_LR] = (__greg_t)_resumecontext; in makecontext() 67 gr[_REG_PC] = (__greg_t)func; // XXX -- this is the descriptor address! in makecontext() 70 spp = (__greg_t *)sp; in makecontext()
|
H A D | _lwp.c | 64 u->uc_mcontext.__gregs[3] = (__greg_t) arg; /* arg1 */ in _lwp_makecontext() 65 u->uc_mcontext.__gregs[1] = ((__greg_t) sp) - 112; /* stack */ in _lwp_makecontext() 66 u->uc_mcontext.__gregs[33] = (__greg_t) _lwp_exit; /* LR */ in _lwp_makecontext() 67 u->uc_mcontext.__gregs[34] = (__greg_t) start; /* PC */ in _lwp_makecontext()
|
/dports/misc/rump/buildrump.sh-b914579/src/lib/libc/arch/vax/gen/ |
H A D | _lwp.c | 48 __greg_t *gr = u->uc_mcontext.__gregs; in _lwp_makecontext() 75 gr[_REG_AP] = (__greg_t)(uintptr_t)(sp + 5); in _lwp_makecontext() 76 gr[_REG_SP] = (__greg_t)(uintptr_t)sp; in _lwp_makecontext() 77 gr[_REG_FP] = (__greg_t)(uintptr_t)sp; in _lwp_makecontext() 78 gr[_REG_PC] = (__greg_t)(uintptr_t)start + 2; in _lwp_makecontext() 85 gr[_REG_SP] = (__greg_t)(uintptr_t)sp; in _lwp_makecontext()
|
H A D | makecontext.c | 47 __greg_t *gr = ucp->uc_mcontext.__gregs; in makecontext() 74 gr[_REG_AP] = (__greg_t)(uintptr_t)(sp + 5); in makecontext() 75 gr[_REG_SP] = (__greg_t)(uintptr_t)sp; in makecontext() 76 gr[_REG_FP] = (__greg_t)(uintptr_t)sp; in makecontext() 77 gr[_REG_PC] = (__greg_t)(uintptr_t)func+2; in makecontext()
|
/dports/misc/rump/buildrump.sh-b914579/src/sys/arch/mips/include/ |
H A D | mcontext.h | 84 typedef long long __greg_t; typedef 86 typedef long __greg_t; typedef 89 typedef __greg_t __gregset_t[_NGREG]; 97 typedef __greg_t __freg_t; 107 __greg_t __fp_csr; 128 __greg_t _mc_tlsbase; 130 __greg_t __mc_unused; 148 __greg_t _mc_tlsbase;
|
/dports/misc/rump/buildrump.sh-b914579/src/lib/libc/arch/sh3/gen/ |
H A D | _lwp.c | 63 u->uc_mcontext.__gregs[_REG_R4] = (__greg_t) arg; in _lwp_makecontext() 64 u->uc_mcontext.__gregs[_REG_SP] = ((__greg_t) sp) & ~3; in _lwp_makecontext() 65 u->uc_mcontext.__gregs[_REG_PR] = (__greg_t) _lwp_exit; in _lwp_makecontext() 66 u->uc_mcontext.__gregs[_REG_PC] = (__greg_t) start; in _lwp_makecontext() 67 u->uc_mcontext.__gregs[_REG_GBR] = (__greg_t) private; in _lwp_makecontext()
|
H A D | makecontext.c | 47 __greg_t *gr = ucp->uc_mcontext.__gregs; in makecontext() 58 gr[_REG_SP] = (__greg_t)sp; in makecontext() 60 gr[_REG_PR] = (__greg_t)_resumecontext; in makecontext() 61 gr[_REG_PC] = (__greg_t)func; in makecontext()
|
/dports/misc/rump/buildrump.sh-b914579/src/lib/libc/arch/aarch64/gen/ |
H A D | _lwp.c | 59 u->uc_mcontext.__gregs[_REG_X0] = (__greg_t)(uintptr_t)arg; in _lwp_makecontext() 60 u->uc_mcontext.__gregs[_REG_SP] = ((__greg_t)sp) & -16; in _lwp_makecontext() 61 u->uc_mcontext.__gregs[_REG_X29] = (__greg_t)(uintptr_t)_lwp_exit; in _lwp_makecontext() 62 u->uc_mcontext.__gregs[_REG_PC] = (__greg_t)(uintptr_t)start; in _lwp_makecontext() 63 u->uc_mcontext.__gregs[_REG_TPIDR] = (__greg_t)(uintptr_t)private; in _lwp_makecontext()
|
H A D | makecontext.c | 47 __greg_t * const gr = ucp->uc_mcontext.__gregs; in makecontext() 56 gr[_REG_SP] = (__greg_t)(uintptr_t)sp; in makecontext() 60 gr[_REG_X30] = (__greg_t)(uintptr_t)_resumecontext; in makecontext() 61 gr[_REG_PC] = (__greg_t)(uintptr_t)func; in makecontext()
|
/dports/misc/rump/buildrump.sh-b914579/src/lib/libc/arch/alpha/gen/ |
H A D | makecontext.c | 49 __greg_t *gr = ucp->uc_mcontext.__gregs; in makecontext() 60 gr[_REG_SP] = (__greg_t)sp; in makecontext() 62 gr[_REG_RA] = (__greg_t)__resumecontext; in makecontext() 63 gr[_REG_PC] = (__greg_t)func; in makecontext() 64 gr[_REG_PV] = (__greg_t)func; in makecontext()
|
/dports/misc/rump/buildrump.sh-b914579/src/lib/libc/arch/sparc/gen/ |
H A D | makecontext.c | 47 __greg_t *gr = ucp->uc_mcontext.__gregs; in makecontext() 62 gr[_REG_O6] = (__greg_t)sp; in makecontext() 63 gr[_REG_PC] = (__greg_t)func; in makecontext() 64 gr[_REG_nPC] = (__greg_t)func + 4; in makecontext() 65 gr[_REG_O7] = (__greg_t)_resumecontext - 8; in makecontext()
|
/dports/misc/rump/buildrump.sh-b914579/src/lib/libc/arch/arm/gen/ |
H A D | _lwp.c | 66 u->uc_mcontext.__gregs[_REG_R0] = (__greg_t)(uintptr_t)arg; in _lwp_makecontext() 67 u->uc_mcontext.__gregs[_REG_SP] = ((__greg_t)sp) & ~7; in _lwp_makecontext() 68 u->uc_mcontext.__gregs[_REG_LR] = (__greg_t)(uintptr_t)_lwp_exit; in _lwp_makecontext() 69 u->uc_mcontext.__gregs[_REG_PC] = (__greg_t)(uintptr_t)start; in _lwp_makecontext() 70 u->uc_mcontext._mc_tlsbase = (__greg_t)(uintptr_t)private; in _lwp_makecontext()
|
H A D | makecontext.c | 47 __greg_t *gr = ucp->uc_mcontext.__gregs; in makecontext() 58 gr[_REG_SP] = (__greg_t)(uintptr_t)sp; in makecontext() 62 gr[_REG_LR] = (__greg_t)(uintptr_t)_resumecontext; in makecontext() 63 gr[_REG_PC] = (__greg_t)(uintptr_t)func; in makecontext()
|
/dports/misc/rump/buildrump.sh-b914579/src/lib/libc/arch/x86_64/gen/ |
H A D | makecontext.c | 50 __greg_t *gr = ucp->uc_mcontext.__gregs; in makecontext() 58 gr[_REG_RIP] = (__greg_t)func; in makecontext() 70 gr[_REG_RSP] = (__greg_t)sp; in makecontext() 71 gr[_REG_RBP] = (__greg_t)0; /* Wipe out frame pointer. */ in makecontext() 88 gr[i] = va_arg(ap, __greg_t); in makecontext()
|
/dports/misc/rump/buildrump.sh-b914579/src/lib/libc/arch/sparc64/gen/ |
H A D | makecontext.c | 48 __greg_t *gr = ucp->uc_mcontext.__gregs; in makecontext() 78 gr[_REG_O6] = (__greg_t)sp; in makecontext() 79 gr[_REG_PC] = (__greg_t)func; in makecontext() 80 gr[_REG_nPC] = (__greg_t)func + 4; in makecontext() 81 gr[_REG_O7] = (__greg_t)_resumecontext - 8; in makecontext()
|
H A D | longjmp.c | 46 __greg_t g3; 47 __greg_t g6; 48 __greg_t g7; 49 __greg_t dummy; 50 __greg_t save_mask;
|
/dports/misc/rump/buildrump.sh-b914579/src/sys/arch/sparc/include/ |
H A D | mcontext.h | 49 typedef long int __greg_t; typedef 50 typedef __greg_t __gregset_t[_NGREG]; 81 __greg_t __rw_local[8]; /* %l0-7 */ 82 __greg_t __rw_in[8]; /* %i0-7 */ 88 __greg_t * __spbuf[_SPARC_MAXREGWINDOW];
|
/dports/misc/rump/buildrump.sh-b914579/src/lib/libc/arch/powerpc/gen/ |
H A D | makecontext.c | 51 __greg_t *gr = ucp->uc_mcontext.__gregs; in makecontext() 68 gr[_REG_R1] = (__greg_t)sp; in makecontext() 69 gr[_REG_LR] = (__greg_t)_resumecontext; in makecontext() 70 gr[_REG_PC] = (__greg_t)func; in makecontext()
|
/dports/misc/rump/buildrump.sh-b914579/src/lib/libc/arch/i386/gen/ |
H A D | makecontext.c | 60 __greg_t *gr = ucp->uc_mcontext.__gregs; 65 gr[_REG_EIP] = (__greg_t)func; 75 gr[_REG_UESP] = (__greg_t)sp; 76 gr[_REG_EBP] = (__greg_t)0; /* Wipe out frame pointer. */
|
/dports/misc/rump/buildrump.sh-b914579/src/sys/arch/arm/include/ |
H A D | mcontext.h | 40 typedef unsigned int __greg_t; typedef 41 typedef __greg_t __gregset_t[_NGREG]; 97 __greg_t _mc_tlsbase; 98 __greg_t _mc_user_tpid;
|
/dports/misc/rump/buildrump.sh-b914579/src/sys/arch/riscv/include/ |
H A D | mcontext.h | 51 typedef __uint64_t __greg_t; typedef 52 typedef __greg_t __gregset_t[_NGREG]; 104 __greg_t __private; /* copy of l_private */ 105 __greg_t __spare[8]; /* future proof */
|
/dports/misc/rump/buildrump.sh-b914579/src/sys/arch/i386/include/ |
H A D | mcontext.h | 53 typedef int __greg_t; typedef 54 typedef __greg_t __gregset_t[_NGREG]; 96 __greg_t _mc_tlsbase;
|