Searched refs:uc_mcontext (Results 1 - 25 of 52) sorted by relevance

123

/illumos-gate/usr/src/lib/libc/sparc/gen/
H A D_xregs_clrptr.c41 uc->uc_mcontext.xrs.xrs_id = 0;
42 uc->uc_mcontext.xrs.xrs_ptr = NULL;
H A Dgetctxt.c55 reg = ucp->uc_mcontext.gregs;
H A Dswapctxt.c54 reg = oucp->uc_mcontext.gregs;
/illumos-gate/usr/src/lib/libc/sparcv9/gen/
H A D_xregs_clrptr.c40 uc->uc_mcontext.xrs.xrs_id = 0;
41 uc->uc_mcontext.xrs.xrs_ptr = NULL;
H A Dgetctxt.c55 reg = ucp->uc_mcontext.gregs;
H A Dswapctxt.c54 reg = oucp->uc_mcontext.gregs;
/illumos-gate/usr/src/cmd/mdb/sparc/kmdb/
H A Dkmdb_makecontext.c58 ucp->uc_mcontext.gregs[REG_PC] = (greg_t)func;
59 ucp->uc_mcontext.gregs[REG_nPC] = (greg_t)func + 4;
60 ucp->uc_mcontext.gregs[REG_O0] = (greg_t)arg;
61 ucp->uc_mcontext.gregs[REG_SP] = (greg_t)(stack - STACK_BIAS);
62 ucp->uc_mcontext.gregs[REG_O7] = NULL;
63 ucp->uc_mcontext.gregs[REG_G7] = NULL;
/illumos-gate/usr/src/lib/libc/i386/threads/
H A Dmachdep.c102 fs = uc.uc_mcontext.gregs[FS];
103 es = uc.uc_mcontext.gregs[ES];
104 ds = uc.uc_mcontext.gregs[DS];
105 cs = uc.uc_mcontext.gregs[CS];
106 ss = uc.uc_mcontext.gregs[SS];
111 ucp->uc_mcontext.gregs[FS] = fs;
112 ucp->uc_mcontext.gregs[ES] = es;
113 ucp->uc_mcontext.gregs[DS] = ds;
114 ucp->uc_mcontext.gregs[CS] = cs;
115 ucp->uc_mcontext
[all...]
/illumos-gate/usr/src/lib/libc/amd64/gen/
H A Dmakectxt.c62 ucp->uc_mcontext.gregs[REG_PC] = (greg_t)func;
86 ucp->uc_mcontext.gregs[REG_RDI] = tmp;
89 ucp->uc_mcontext.gregs[REG_RSI] = tmp;
92 ucp->uc_mcontext.gregs[REG_RDX] = tmp;
95 ucp->uc_mcontext.gregs[REG_RCX] = tmp;
98 ucp->uc_mcontext.gregs[REG_R8] = tmp;
101 ucp->uc_mcontext.gregs[REG_R9] = tmp;
113 ucp->uc_mcontext.gregs[REG_SP] = (greg_t)sp;
H A Dsiglongjmp.c44 ucp->uc_mcontext.gregs[REG_R0] = val;
46 ucp->uc_mcontext.gregs[REG_R0] = 1;
/illumos-gate/usr/src/cmd/mdb/intel/amd64/kmdb/
H A Dkmdb_makecontext.c51 ucp->uc_mcontext.gregs[REG_PC] = (greg_t)func;
52 ucp->uc_mcontext.gregs[REG_SP] = (greg_t)stack;
53 ucp->uc_mcontext.gregs[REG_RDI] = (greg_t)arg;
/illumos-gate/usr/src/lib/libc/i386/gen/
H A Dsiglongjmp.c47 ucp->uc_mcontext.gregs[EAX] = val;
49 ucp->uc_mcontext.gregs[EAX] = 1;
H A Dmakectxt.c83 ucp->uc_mcontext.gregs[EIP] = (greg_t)func;
99 ucp->uc_mcontext.gregs[UESP] = (greg_t)sp;
/illumos-gate/usr/src/ucblib/libucb/sparc/sys/
H A Dsignal.c130 ucp->uc_mcontext.gregs[REG_PC] =
131 ucp->uc_mcontext.gregs[REG_nPC];
132 ucp->uc_mcontext.gregs[REG_nPC] += 4;
134 sc.sc_sp = ucp->uc_mcontext.gregs[REG_SP];
135 sc.sc_pc = ucp->uc_mcontext.gregs[REG_PC];
136 sc.sc_npc = ucp->uc_mcontext.gregs[REG_nPC];
140 sc.sc_psr = ucp->uc_mcontext.gregs[REG_CCR];
142 sc.sc_psr = ucp->uc_mcontext.gregs[REG_PSR];
145 sc.sc_g1 = ucp->uc_mcontext.gregs[REG_G1];
146 sc.sc_o0 = ucp->uc_mcontext
[all...]
/illumos-gate/usr/src/cmd/csh/sparc/
H A Dsignal.c79 sc.sc_sp = ucp->uc_mcontext.gregs[REG_O6];
80 sc.sc_pc = ucp->uc_mcontext.gregs[REG_PC];
81 sc.sc_npc = ucp->uc_mcontext.gregs[REG_nPC];
82 sc.sc_psr = ucp->uc_mcontext.gregs[REG_PSR];
83 sc.sc_g1 = ucp->uc_mcontext.gregs[REG_G1];
84 sc.sc_o0 = ucp->uc_mcontext.gregs[REG_O0];
85 if (ucp->uc_mcontext.gwins != (gwindows_t *)0) {
87 sc.sc_wbcnt = ucp->uc_mcontext.gwins->wbcnt;
90 sc.sc_spbuf[i][j] = (int)ucp->uc_mcontext.gwins->spbuf[j];
92 sc.sc_wbuf[i][j] = ucp->uc_mcontext
[all...]
/illumos-gate/usr/src/uts/sparc/syscall/
H A Dgetcontext.c63 * We assign to every field through uc_mcontext.fpregs.fpu_en,
66 bzero(&ucp->uc_mcontext.fpregs.fpu_en, sizeof (ucontext_t) -
67 offsetof(ucontext_t, uc_mcontext.fpregs.fpu_en));
104 getgregs(lwp, ucp->uc_mcontext.gregs);
105 getasrs(lwp, ucp->uc_mcontext.asrs);
107 getfpregs(lwp, &ucp->uc_mcontext.fpregs);
108 getfpasrs(lwp, ucp->uc_mcontext.asrs);
109 if (ucp->uc_mcontext.fpregs.fpu_en == 0)
111 ucp->uc_mcontext.gwins = (gwindows_t *)NULL;
125 mcontext_t *mcp = &ucp->uc_mcontext;
[all...]
/illumos-gate/usr/src/cmd/mdb/intel/ia32/kmdb/
H A Dkmdb_makecontext.c52 ucp->uc_mcontext.gregs[REG_PC] = (greg_t)func;
53 ucp->uc_mcontext.gregs[REG_SP] = (greg_t)stack;
/illumos-gate/usr/src/ucblib/libucb/i386/sys/
H A Dsignal.c105 sc.sc_sp = (long)ucp->uc_mcontext.gregs[REG_RSP];
106 sc.sc_pc = (long)ucp->uc_mcontext.gregs[REG_RIP];
107 sc.sc_ps = (long)ucp->uc_mcontext.gregs[REG_RFL];
108 sc.sc_r0 = (long)ucp->uc_mcontext.gregs[REG_RAX];
109 sc.sc_r1 = (long)ucp->uc_mcontext.gregs[REG_RDX];
111 sc.sc_sp = (int)ucp->uc_mcontext.gregs[UESP];
112 sc.sc_pc = (int)ucp->uc_mcontext.gregs[EIP];
113 sc.sc_ps = (int)ucp->uc_mcontext.gregs[EFL];
114 sc.sc_r0 = (int)ucp->uc_mcontext.gregs[EAX];
115 sc.sc_r1 = (int)ucp->uc_mcontext
[all...]
/illumos-gate/usr/src/uts/intel/ia32/syscall/
H A Dgetcontext.c65 bzero(&ucp->uc_mcontext.fpregs, sizeof (ucontext_t) -
66 offsetof(ucontext_t, uc_mcontext.fpregs));
122 getgregs(lwp, ucp->uc_mcontext.gregs);
124 getfpregs(lwp, &ucp->uc_mcontext.fpregs);
158 setgregs(lwp, ucp->uc_mcontext.gregs);
165 setfpregs(lwp, &ucp->uc_mcontext.fpregs);
219 sizeof (uc.uc_mcontext.fpregs))) {
226 copyin(&ucp->uc_mcontext.fpregs, &uc.uc_mcontext.fpregs,
227 sizeof (uc.uc_mcontext
[all...]
/illumos-gate/usr/src/lib/libm/common/m9x/
H A D__fex_hdlr.c270 i = ((int)uap->uc_mcontext.fpregs.fpu_fsr >> 5) & 0x1f;
291 gsr = uap->uc_mcontext.asrs[3];
294 if (uap->uc_mcontext.xrs.xrs_id == XRS_ID)
295 gsr = (*(unsigned long long*)((prxregset_t*)uap->uc_mcontext.
343 fsr = uap->uc_mcontext.fpregs.fpu_fsr;
347 uap->uc_mcontext.fpregs.fpu_fsr = fsr;
402 if (!(uap->uc_mcontext.fpregs.fp_reg_set.fpchip_state.status & 0x80)) {
419 addr = (unsigned long)uap->uc_mcontext.gregs[REG_PC];
420 accrued = uap->uc_mcontext.fpregs.fp_reg_set.
462 accrued |= uap->uc_mcontext
[all...]
/illumos-gate/usr/src/cmd/csh/i386/
H A Dsignal.c79 sc.sc_sp = (int) ucp->uc_mcontext.gregs[UESP];
80 sc.sc_pc = (int) ucp->uc_mcontext.gregs[EIP];
81 sc.sc_ps = (int) ucp->uc_mcontext.gregs[EFL];
82 sc.sc_eax = (int) ucp->uc_mcontext.gregs[EAX];
83 sc.sc_edx = (int) ucp->uc_mcontext.gregs[EDX];
110 ucp->uc_mcontext.gregs[UESP] = (int) sc.sc_sp;
111 ucp->uc_mcontext.gregs[EIP] = (int) sc.sc_pc;
112 ucp->uc_mcontext.gregs[EFL] = (int) sc.sc_ps;
113 ucp->uc_mcontext.gregs[EAX] = (int) sc.sc_eax;
114 ucp->uc_mcontext
[all...]
/illumos-gate/usr/src/lib/libc/amd64/threads/
H A Dmachdep.c77 ucp->uc_mcontext.gregs[REG_FSBASE] = (greg_t)ulwp;
78 ucp->uc_mcontext.gregs[REG_FS] = 0; /* null selector indicates fsbase */
81 ucp->uc_mcontext.gregs[REG_SS] = UDS_SEL;
92 ucp->uc_mcontext.gregs[REG_RDI] = (greg_t)ulwp;
93 ucp->uc_mcontext.gregs[REG_RIP] = (greg_t)func;
94 ucp->uc_mcontext.gregs[REG_RSP] = (greg_t)stack;
95 ucp->uc_mcontext.gregs[REG_RBP] = (greg_t)(stack + 1);
195 (void) memcpy(ucp->uc_mcontext.gregs, rs, _NGREG * sizeof (greg_t));
/illumos-gate/usr/src/uts/intel/sys/
H A Ducontext.h86 mcontext_t uc_mcontext; member in struct:ucontext
99 mcontext32_t uc_mcontext; member in struct:ucontext32
/illumos-gate/usr/src/uts/sparc/sys/
H A Ducontext.h87 mcontext_t uc_mcontext; member in struct:ucontext
104 mcontext32_t uc_mcontext; member in struct:ucontext32
/illumos-gate/usr/src/uts/sparc/v9/os/
H A Dxregs.c44 * done by placing an xrs_t within the uc_mcontext filler area.
56 uc->uc_mcontext.xrs.xrs_id = 0;
57 uc->uc_mcontext.xrs.xrs_ptr = NULL;
68 return (uc->uc_mcontext.xrs.xrs_id == XRS_ID);
78 if (uc->uc_mcontext.xrs.xrs_id == XRS_ID)
79 return (uc->uc_mcontext.xrs.xrs_ptr);
90 uc->uc_mcontext.xrs.xrs_id = XRS_ID;
91 uc->uc_mcontext.xrs.xrs_ptr = xrp;
100 uc->uc_mcontext.xrs.xrs_id = 0;
101 uc->uc_mcontext
[all...]

Completed in 243 milliseconds

123