Home
last modified time | relevance | path

Searched refs:uc_xsave (Results 1 – 10 of 10) sorted by relevance

/illumos-gate/usr/src/test/os-tests/tests/xsave/
H A Dxsave_baducontext.c53 uc_xsave_t *xc = (uc_xsave_t *)ctx->uc_xsave; in test_bad_version()
60 uc_xsave_t *xc = (uc_xsave_t *)ctx->uc_xsave; in test_bad_length_small()
67 uc_xsave_t *xc = (uc_xsave_t *)ctx->uc_xsave; in test_bad_length_large()
79 uc_xsave_t *xc = (uc_xsave_t *)ctx->uc_xsave; in test_bad_vector()
86 uc_xsave_t *xc = (uc_xsave_t *)ctx->uc_xsave; in test_context_too_short()
89 ctx->uc_xsave = (long)(uintptr_t)xsave_buf; in test_context_too_short()
90 xc = (uc_xsave_t *)ctx->uc_xsave; in test_context_too_short()
98 ctx->uc_xsave = 0; in test_context_badptr0()
110 ctx->uc_xsave = (long)(uintptr_t)addr; in test_context_badptr1()
127 ctx->uc_xsave = (uintptr_t)addr; in test_context_badptr2()
[all …]
H A Dxsave_util.h72 typedef struct uc_xsave { struct
H A Dxsave_util.c236 uctx->uc_xsave = (long)(uintptr_t)new_buf; in xsu_overwrite_uctx()
/illumos-gate/usr/src/uts/intel/syscall/
H A Dgetcontext.c120 user_xsave = ucp->uc_xsave; in savecontext()
134 ucp->uc_xsave = user_xsave; in savecontext()
220 ret = fpu_signal_copyout(lwp, ucp->uc_xsave, in savecontext()
223 ret = fpu_signal_copyout(lwp, ucp->uc_xsave, copyout); in savecontext()
269 ASSERT3U((uintptr_t)ucp->uc_xsave, >=, _kernelbase); in restorecontext()
270 fpu_set_xsave(lwp, (const void *)ucp->uc_xsave); in restorecontext()
338 if (copyin(&ucp->uc_xsave, &uc.uc_xsave, in getsetcontext()
339 sizeof (uc.uc_xsave)) != 0) { in getsetcontext()
373 uc.uc_xsave = 0; in getsetcontext()
377 if (copyin(&ucp->uc_xsave, &uc.uc_xsave, in getsetcontext()
[all …]
/illumos-gate/usr/src/uts/intel/sys/
H A Ducontext.h95 long uc_xsave; member
110 int32_t uc_xsave; member
160 typedef struct uc_xsave { struct
/illumos-gate/usr/src/lib/libc/i386/gen/
H A Dmakectxt.c178 ucp->uc_xsave = addr + sizeof (ucontext_t); in ucontext_alloc()
/illumos-gate/usr/src/lib/libc/amd64/gen/
H A Dmakectxt.c188 ucp->uc_xsave = addr + sizeof (ucontext_t); in ucontext_alloc()
/illumos-gate/usr/src/uts/intel/os/
H A Dfpu.c2985 if (kuc->uc_xsave == 0) { in fpu_signal_copyin()
2996 if (ddi_copyin((const void *)kuc->uc_xsave, &ucx, sizeof (ucx), 0) != in fpu_signal_copyin()
3006 (uintptr_t)kuc->uc_xsave) { in fpu_signal_copyin()
3032 max_data = (uintptr_t)kuc->uc_xsave + ucx.ucx_len; in fpu_signal_copyin()
3033 data = (uintptr_t)kuc->uc_xsave + sizeof (ucx); in fpu_signal_copyin()
3073 kuc->uc_xsave = (uintptr_t)fpu; in fpu_signal_copyin()
H A Dsendsig.c314 tuc->uc_xsave = (unsigned long)(sp + sizeof (struct sigframe)); in sendsig()
554 tuc->uc_xsave = (int32_t)(uintptr_t)fp; in sendsig32()
H A Darchdep.c419 dst->uc_xsave = (long)(uint32_t)src->uc_xsave; in ucontext_32ton()
421 dst->uc_xsave = 0; in ucontext_32ton()