/netbsd-current/lib/libc/sys/ |
H A D | Lint_getcontext.c | 12 getcontext(ucp) 13 ucontext_t *ucp;
|
/netbsd-current/lib/libpthread/arch/sh3/ |
H A D | 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;
|
/netbsd-current/lib/libpthread/arch/powerpc/ |
H A D | 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;
|
/netbsd-current/lib/libc/gen/ |
H A D | Lint_swapcontext.c | 12 swapcontext(oucp, ucp) 14 const ucontext_t *ucp;
|
/netbsd-current/lib/libpthread/arch/ia64/ |
H A D | pthread_md.h | 43 #define pthread__uc_sp(ucp) ((ucp)->uc_mcontext.__gregs[_REG_SP])
|
/netbsd-current/lib/libpthread/arch/m68k/ |
H A D | pthread_md.h | 44 #define pthread__uc_sp(ucp) ((ucp)->uc_mcontext.__gregs[_REG_A7])
|
/netbsd-current/lib/libpthread/arch/mips/ |
H A D | pthread_md.h | 45 #define pthread__uc_sp(ucp) ((ucp)->uc_mcontext.__gregs[_REG_SP])
|
/netbsd-current/lib/libpthread/arch/or1k/ |
H A D | pthread_md.h | 45 #define pthread__uc_sp(ucp) ((ucp)->uc_mcontext.__gregs[1])
|
/netbsd-current/lib/libpthread/arch/sparc/ |
H A D | pthread_md.h | 45 #define pthread__uc_sp(ucp) ((ucp)->uc_mcontext.__gregs[_REG_O6])
|
/netbsd-current/lib/libpthread/arch/sparc64/ |
H A D | pthread_md.h | 45 #define pthread__uc_sp(ucp) ((ucp)->uc_mcontext.__gregs[_REG_O6])
|
/netbsd-current/sys/arch/usermode/include/ |
H A D | 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);
|
/netbsd-current/lib/libpthread/arch/riscv/ |
H A D | pthread_md.h | 45 #define pthread__uc_sp(ucp) ((ucp)->uc_mcontext.__gregs[_REG_SP])
|
/netbsd-current/lib/libpthread/arch/alpha/ |
H A D | 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;
|
/netbsd-current/lib/libpthread/arch/hppa/ |
H A D | 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;
|
/netbsd-current/lib/libpthread/arch/vax/ |
H A D | 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;
|
/netbsd-current/lib/libpthread/arch/aarch64/ |
H A D | 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;
|
/netbsd-current/tests/usr.bin/xlint/lint1/ |
H A D | msg_116.c | 28 subtract_character_pointers(signed char *scp, unsigned char *ucp) argument 31 return scp - ucp > 0;
|
/netbsd-current/lib/libpthread/arch/arm/ |
H A D | 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;
|
/netbsd-current/lib/libpthread/arch/i386/ |
H A D | pthread_md.h | 47 #define pthread__uc_sp(ucp) ((ucp)->uc_mcontext.__gregs[_REG_UESP]) 50 _initcontext_u_md(ucontext_t *ucp) argument 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 [all...] |
/netbsd-current/lib/libpthread/arch/x86_64/ |
H A D | 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) [all...] |
/netbsd-current/external/gpl3/binutils/dist/gprofng/libcollector/ |
H A D | hwprofile.h | 56 #define SETFUNCTIONCONTEXT(ucp,funcp) \ 57 (ucp)->uc_mcontext.gregs[CONTEXT_PC] = (greg_t)(funcp); \ 58 (ucp)->uc_mcontext.gregs[CONTEXT_SP] = 0; \ 59 (ucp)->uc_mcontext.gregs[CONTEXT_FP] = 0; 74 #define SETFUNCTIONCONTEXT(ucp,funcp) \ 75 (ucp)->uc_mcontext.gregs[CONTEXT_PC] = (intptr_t)(funcp); \ 76 (ucp)->uc_mcontext.gregs[CONTEXT_SP] = 0; \ 77 (ucp)->uc_mcontext.gregs[CONTEXT_FP] = 0; 83 #define SETFUNCTIONCONTEXT(ucp,funcp) \ 84 (ucp) [all...] |
/netbsd-current/external/bsd/file/dist/src/ |
H A D | is_json.c | 133 json_parse_string(const unsigned char **ucp, const unsigned char *ue, argument 136 const unsigned char *uc = *ucp; 139 DPRINTF("Parse string: ", uc, *ucp); 172 DPRINTF("Good string: ", uc, *ucp); 173 *ucp = uc; 180 DPRINTF("Bad string: ", uc, *ucp); 181 *ucp = uc; 186 json_parse_array(const unsigned char **ucp, const unsigned char *ue, argument 189 const unsigned char *uc = *ucp; 191 DPRINTF("Parse array: ", uc, *ucp); 223 json_parse_object(const unsigned char **ucp, const unsigned char *ue, size_t *st, size_t lvl) argument 280 json_parse_number(const unsigned char **ucp, const unsigned char *ue, size_t lvl __file_debugused) argument 332 json_parse_const(const unsigned char **ucp, const unsigned char *ue, const char *str, size_t len, size_t lvl __file_debugused) argument 352 json_parse(const unsigned char **ucp, const unsigned char *ue, size_t *st, size_t lvl) argument [all...] |
/netbsd-current/sys/arch/usermode/target/arm/ |
H A D | cpu_arm.c | 79 md_syscall_get_syscallnumber(ucontext_t *ucp, uint32_t *code) argument 85 md_syscall_getargs(lwp_t *l, ucontext_t *ucp, int nargs, int argsize, argument 93 md_syscall_set_returnargs(lwp_t *l, ucontext_t *ucp, argument 100 md_get_pc(ucontext_t *ucp) argument 102 unsigned int *reg = (unsigned int *)&ucp->uc_mcontext; 107 md_get_sp(ucontext_t *ucp) argument 109 unsigned int *reg = (unsigned int *)&ucp->uc_mcontext; 114 md_syscall_check_opcode(ucontext_t *ucp) argument 121 md_syscall_get_opcode(ucontext_t *ucp, uint32_t *opcode) argument 127 md_syscall_inc_pc(ucontext_t *ucp, uint32_ argument 133 md_syscall_dec_pc(ucontext_t *ucp, uint32_t opcode) argument [all...] |
/netbsd-current/sys/arch/usermode/target/i386/ |
H A D | cpu_i386.c | 84 ucontext_t *sf_ucp; /* "ucp" argument for handler */ 104 ucontext_t *ucp; local 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 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 221 md_syscall_get_syscallnumber(ucontext_t *ucp, uint32_t *code) argument 228 md_syscall_getargs(lwp_t *l, ucontext_t *ucp, int nargs, int argsize, register_t *args) argument 242 md_syscall_set_returnargs(lwp_t *l, ucontext_t *ucp, int error, register_t *rval) argument 262 md_get_pc(ucontext_t *ucp) argument 271 md_get_sp(ucontext_t *ucp) argument 280 md_syscall_check_opcode(ucontext_t *ucp) argument 299 md_syscall_get_opcode(ucontext_t *ucp, uint32_t *opcode) argument 320 md_syscall_inc_pc(ucontext_t *ucp, uint32_t opcode) argument 341 md_syscall_dec_pc(ucontext_t *ucp, uint32_t opcode) argument [all...] |
/netbsd-current/sys/arch/usermode/target/x86_64/ |
H A D | cpu_x86_64.c | 100 ucontext_t *ucp; local 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 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_ argument 209 md_syscall_getargs(lwp_t *l, ucontext_t *ucp, int nargs, int argsize, register_t *args) argument 239 md_syscall_set_returnargs(lwp_t *l, ucontext_t *ucp, int error, register_t *rval) argument 259 md_get_pc(ucontext_t *ucp) argument 267 md_get_sp(ucontext_t *ucp) argument 275 md_syscall_check_opcode(ucontext_t *ucp) argument 295 md_syscall_get_opcode(ucontext_t *ucp, uint32_t *opcode) argument 315 md_syscall_inc_pc(ucontext_t *ucp, uint32_t opcode) argument 335 md_syscall_dec_pc(ucontext_t *ucp, uint32_t opcode) argument [all...] |