/src/lib/libpthread/arch/powerpc/ |
pthread_md.h | 51 #define pthread__uc_sp(ucp) ((ucp)->uc_mcontext.__gregs[1]) 58 #define _INITCONTEXT_U_MD(ucp) \ 59 (ucp)->uc_mcontext.__gregs[_REG_MSR] = 0xd032;
|
/src/lib/libpthread/arch/sh3/ |
pthread_md.h | 50 #define pthread__uc_sp(ucp) ((ucp)->uc_mcontext.__gregs[_REG_R15]) 56 #define _INITCONTEXT_U_MD(ucp) \ 57 (ucp)->uc_mcontext.__gregs[_REG_SR] = 0;
|
/src/lib/libc/sys/ |
Lint_getcontext.c | 12 getcontext(ucontext_t *ucp)
|
/src/lib/libpthread/arch/ia64/ |
pthread_md.h | 43 #define pthread__uc_sp(ucp) ((ucp)->uc_mcontext.__gregs[_REG_SP])
|
/src/lib/libpthread/arch/m68k/ |
pthread_md.h | 44 #define pthread__uc_sp(ucp) ((ucp)->uc_mcontext.__gregs[_REG_A7])
|
/src/lib/libpthread/arch/mips/ |
pthread_md.h | 45 #define pthread__uc_sp(ucp) ((ucp)->uc_mcontext.__gregs[_REG_SP])
|
/src/lib/libpthread/arch/or1k/ |
pthread_md.h | 45 #define pthread__uc_sp(ucp) ((ucp)->uc_mcontext.__gregs[1])
|
/src/lib/libpthread/arch/sparc/ |
pthread_md.h | 45 #define pthread__uc_sp(ucp) ((ucp)->uc_mcontext.__gregs[_REG_O6])
|
/src/lib/libpthread/arch/sparc64/ |
pthread_md.h | 45 #define pthread__uc_sp(ucp) ((ucp)->uc_mcontext.__gregs[_REG_O6])
|
/src/sys/arch/usermode/include/ |
machdep.h | 29 int md_syscall_check_opcode(ucontext_t *ucp); 30 void md_syscall_get_opcode(ucontext_t *ucp, uint32_t *opcode); 31 void md_syscall_get_syscallnumber(ucontext_t *ucp, uint32_t *code); 32 int md_syscall_getargs(lwp_t *l, ucontext_t *ucp, int nargs, int argsize, 34 void md_syscall_set_returnargs(lwp_t *l, ucontext_t *ucp, 36 void md_syscall_inc_pc(ucontext_t *ucp, uint32_t opcode); 37 void md_syscall_dec_pc(ucontext_t *ucp, uint32_t opcode); 38 register_t md_get_pc(ucontext_t *ucp); 39 register_t md_get_sp(ucontext_t *ucp);
|
/src/lib/libpthread/arch/riscv/ |
pthread_md.h | 45 #define pthread__uc_sp(ucp) ((ucp)->uc_mcontext.__gregs[_REG_SP])
|
/src/lib/libpthread/arch/alpha/ |
pthread_md.h | 47 #define pthread__uc_sp(ucp) ((ucp)->uc_mcontext.__gregs[_REG_SP]) 54 #define _INITCONTEXT_U_MD(ucp) \ 55 (ucp)->uc_mcontext.__gregs[_REG_PS] = 0x0008;
|
/src/lib/libpthread/arch/hppa/ |
pthread_md.h | 47 #define pthread__uc_sp(ucp) ((ucp)->uc_mcontext.__gregs[_REG_SP]) 53 #define _INITCONTEXT_U_MD(ucp) \ 54 (ucp)->uc_mcontext.__gregs[_REG_PSW] = 0x4000f;
|
/src/lib/libpthread/arch/vax/ |
pthread_md.h | 45 #define pthread__uc_sp(ucp) ((ucp)->uc_mcontext.__gregs[_REG_SP]) 52 #define _INITCONTEXT_U_MD(ucp) \ 53 (ucp)->uc_mcontext.__gregs[_REG_PSL] = 0x03c00000;
|
/src/lib/libpthread/arch/aarch64/ |
pthread_md.h | 48 #define pthread__uc_sp(ucp) ((ucp)->uc_mcontext.__gregs[_REG_SP]) 54 #define _INITCONTEXT_U_MD(ucp) \ 55 (ucp)->uc_mcontext.__gregs[_REG_SPSR] = 0;
|
/src/lib/libc/gen/ |
Lint_swapcontext.c | 12 swapcontext(ucontext_t *oucp, const ucontext_t *ucp)
|
/src/tests/usr.bin/xlint/lint1/ |
msg_116.c | 28 subtract_character_pointers(signed char *scp, unsigned char *ucp) 31 return scp - ucp > 0;
|
/src/lib/libpthread/arch/arm/ |
pthread_md.h | 63 #define pthread__uc_sp(ucp) ((ucp)->uc_mcontext.__gregs[_REG_SP]) 70 #define _INITCONTEXT_U_MD(ucp) \ 71 (ucp)->uc_mcontext.__gregs[_REG_CPSR] = 0x10;
|
/src/lib/libpthread/arch/i386/ |
pthread_md.h | 47 #define pthread__uc_sp(ucp) ((ucp)->uc_mcontext.__gregs[_REG_UESP]) 50 _initcontext_u_md(ucontext_t *ucp) 52 __asm ("pushfl; popl %0" : "=a" (ucp->uc_mcontext.__gregs[_REG_EFL])); 53 __asm ("pushl %%cs; popl %0" : "=a" (ucp->uc_mcontext.__gregs[_REG_CS])); 54 __asm ("movl %%ds, %0" : "=a" (ucp->uc_mcontext.__gregs[_REG_DS])); 55 __asm ("movl %%es, %0" : "=a" (ucp->uc_mcontext.__gregs[_REG_ES])); 56 __asm ("movl %%fs, %0" : "=a" (ucp->uc_mcontext.__gregs[_REG_FS])); 57 __asm ("movl %%gs, %0" : "=a" (ucp->uc_mcontext.__gregs[_REG_GS])); 58 __asm ("movl %%ss, %0" : "=a" (ucp->uc_mcontext.__gregs[_REG_SS])) [all...] |
/src/lib/libpthread/arch/x86_64/ |
pthread_md.h | 48 #define pthread__uc_sp(ucp) ((ucp)->uc_mcontext.__gregs[_REG_URSP]) 57 #define _INITCONTEXT_U_MD(ucp) \ 58 (ucp)->uc_mcontext.__gregs[_REG_GS] = 0x23, \ 59 (ucp)->uc_mcontext.__gregs[_REG_FS] = 0x23, \ 60 (ucp)->uc_mcontext.__gregs[_REG_ES] = 0x23, \ 61 (ucp)->uc_mcontext.__gregs[_REG_DS] = 0x23, \ 62 (ucp)->uc_mcontext.__gregs[_REG_CS] = 0x1b, \ 63 (ucp)->uc_mcontext.__gregs[_REG_SS] = 0x23, \ 64 (ucp)->uc_mcontext.__gregs[_REG_RFL] = 0x202 [all...] |
/src/sys/arch/usermode/target/arm/ |
cpu_arm.c | 79 md_syscall_get_syscallnumber(ucontext_t *ucp, uint32_t *code) 85 md_syscall_getargs(lwp_t *l, ucontext_t *ucp, int nargs, int argsize, 93 md_syscall_set_returnargs(lwp_t *l, ucontext_t *ucp, 100 md_get_pc(ucontext_t *ucp) 102 unsigned int *reg = (unsigned int *)&ucp->uc_mcontext; 107 md_get_sp(ucontext_t *ucp) 109 unsigned int *reg = (unsigned int *)&ucp->uc_mcontext; 114 md_syscall_check_opcode(ucontext_t *ucp) 121 md_syscall_get_opcode(ucontext_t *ucp, uint32_t *opcode) 127 md_syscall_inc_pc(ucontext_t *ucp, uint32_t opcode [all...] |
/src/sys/arch/usermode/target/i386/ |
cpu_i386.c | 84 ucontext_t *sf_ucp; /* "ucp" argument for handler */ 104 ucontext_t *ucp; local in function:sendsig_siginfo 110 ucp = &pcb->pcb_userret_ucp; 111 reg = (register_t *) &ucp->uc_mcontext.__gregs; 142 memcpy(&frame.sf_uc, ucp, sizeof(ucontext_t)); 178 ucontext_t *ucp; local in function:setregs 192 ucp = &pcb->pcb_userret_ucp; 193 reg = (int *) &ucp->uc_mcontext.__gregs; 198 ucp->uc_stack.ss_sp = (void *) (stack-4); /* to prevent clearing */ 199 ucp->uc_stack.ss_size = 0; //pack->ep_ssize [all...] |
/src/sys/arch/usermode/target/x86_64/ |
cpu_x86_64.c | 100 ucontext_t *ucp; local in function:sendsig_siginfo 107 ucp = &pcb->pcb_userret_ucp; 108 reg = (register_t *) &ucp->uc_mcontext.__gregs; 140 memcpy(&frame.sf_uc, ucp, sizeof(ucontext_t)); 180 ucontext_t *ucp; local in function:setregs 185 ucp = &pcb->pcb_userret_ucp; 186 reg = (register_t *) &ucp->uc_mcontext.__gregs; 195 ucp->uc_stack.ss_sp = (void *) stack; 196 ucp->uc_stack.ss_size = pack->ep_ssize; 202 md_syscall_get_syscallnumber(ucontext_t *ucp, uint32_t *code [all...] |
/src/lib/libc/arch/arm/gen/ |
makecontext.c | 45 makecontext(ucontext_t *ucp, void (*func)(void), int argc, ...) 47 __greg_t *gr = ucp->uc_mcontext.__gregs; 54 (((uintptr_t)ucp->uc_stack.ss_sp + ucp->uc_stack.ss_size) & ~7);
|
/src/lib/libc/arch/ia64/gen/ |
makecontext.c | 41 makecontext(ucontext_t *ucp, void (*func)(void), int argc, ...)
|