Lines Matching defs:src
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
212 const greg32_t *src = &uc->uc_mcontext.gregs[0];
214 dst[REG_DS] = (uint16_t)src[DS];
215 dst[REG_ES] = (uint16_t)src[ES];
217 dst[REG_GS] = (uint16_t)src[GS];
218 dst[REG_FS] = (uint16_t)src[FS];
219 dst[REG_SS] = (uint16_t)src[SS];
220 dst[REG_RSP] = (uint32_t)src[UESP];
221 dst[REG_RFL] = src[EFL];
222 dst[REG_CS] = (uint16_t)src[CS];
223 dst[REG_RIP] = (uint32_t)src[EIP];
224 dst[REG_ERR] = (uint32_t)src[ERR];
225 dst[REG_TRAPNO] = (uint32_t)src[TRAPNO];
226 dst[REG_RAX] = (uint32_t)src[EAX];
227 dst[REG_RCX] = (uint32_t)src[ECX];
228 dst[REG_RDX] = (uint32_t)src[EDX];
229 dst[REG_RBX] = (uint32_t)src[EBX];
230 dst[REG_RBP] = (uint32_t)src[EBP];
231 dst[REG_RSI] = (uint32_t)src[ESI];
232 dst[REG_RDI] = (uint32_t)src[EDI];
345 ucontext_n_to_prgregs(const ucontext_t *src, prgregset_t dst)
347 (void) memcpy(dst, src->uc_mcontext.gregs, sizeof (gregset_t));