Searched refs:lofault (Results 1 - 14 of 14) sorted by relevance

/illumos-gate/usr/src/uts/sun4u/ml/
H A Dmach_copy.s349 ! sets a lofault handler. It ors LOFAULT_SET into %o5
351 ! is otherwise zero. bzero() sets a lofault handler *only*
459 ! or bzero(). kzero() *always* sets a lofault handler.
462 ! bzero() sets a lofault handler *only* if one was
/illumos-gate/usr/src/uts/i86pc/os/
H A Dtrap.c472 uintptr_t lofault; local
656 * See if we can handle as pagefault. Save lofault and onfault
664 lofault = ct->t_lofault;
684 * Restore lofault and onfault. If we resolved the fault, exit.
685 * If we didn't and lofault wasn't set, die.
687 ct->t_lofault = lofault;
693 if (lofault == 0 && opteron_erratum_93) {
718 if (lofault == 0 && opteron_erratum_91) {
748 if (lofault == 0)
752 * Cannot resolve fault. Return to lofault
[all...]
/illumos-gate/usr/src/uts/sparc/v9/ml/
H A Dsparcv9_subr.s277 * Catch lofault faults. Like setjmp except it returns one
304 stn %g0, [THREAD_REG + T_LOFAULT] ! turn off lofault
326 stn %g0, [THREAD_REG + T_LOFAULT] ! turn off lofault
/illumos-gate/usr/src/uts/sun4/os/
H A Dtrap.c157 uintptr_t lofault; local
341 * T_DATA_PROT case below. If lofault is set, then
366 * thread. To support pxfs, we need to honor lofault if
421 lofault = curthread->t_lofault;
467 * Restore lofault and onfault. If we resolved the fault, exit.
468 * If we didn't and lofault wasn't set, die.
470 curthread->t_lofault = lofault;
483 if ((lofault == 0 || lodebug) &&
486 if (lofault == 0)
489 * Cannot resolve fault. Return to lofault
[all...]
/illumos-gate/usr/src/uts/sun4u/cpu/
H A Dcheetah_copy.s188 * In lofault handler:
209 * In second lofault handler (.copyerr2):
416 * to the registered lofault handler. There is no need for any
423 * buffer is incomplete. So trap handlers will trampoline to the lofault
436 * of deferred traps affecting kernel state before we install a lofault
437 * handler (if we interpose a new lofault handler on an existing one there
439 * errors affecting the lofault-protected region before we clear t_lofault.
453 * 1. %l6 always holds the caller's lofault handler. Also in this register,
456 * lofault handler was set coming in.
466 * 4. Code run under the new lofault handle
[all...]
H A Dopl_olympus_copy.s184 * In lofault handler:
205 * In second lofault handler (.copyerr2):
392 * to the registered lofault handler. There is no need for any
399 * buffer is incomplete. So trap handlers will trampoline to the lofault
412 * of deferred traps affecting kernel state before we install a lofault
413 * handler (if we interpose a new lofault handler on an existing one there
415 * errors affecting the lofault-protected region before we clear t_lofault.
429 * 1. %l6 always holds the caller's lofault handler. Also in this register,
432 * lofault handler was set coming in.
442 * 4. Code run under the new lofault handle
[all...]
H A Dopl_olympus_asm.s1281 * handling code via sys_trap(). on_trap()/lofault protection
1449 * code via sys_trap(). on_trap()/lofault protection do
1920 stn %l5, [THREAD_REG + T_LOFAULT] ! set up the lofault handler
1924 stn %g0, [THREAD_REG + T_LOFAULT] ! remove the lofault handler
1939 stn %g0, [THREAD_REG + T_LOFAULT] ! remove the lofault handler
H A Dspitfire_asm.s2067 stn %l5, [THREAD_REG + T_LOFAULT] ! set up the lofault handler
2070 stn %g0, [THREAD_REG + T_LOFAULT] ! remove the lofault handler
2085 stn %g0, [THREAD_REG + T_LOFAULT] ! remove the lofault handler
H A Dus3_common_asm.s2982 stn %l5, [THREAD_REG + T_LOFAULT] ! set up the lofault handler
2985 stn %g0, [THREAD_REG + T_LOFAULT] ! remove the lofault handler
3000 stn %g0, [THREAD_REG + T_LOFAULT] ! remove the lofault handler
H A Dspitfire_copy.s89 * In lofault handler:
112 * In second lofault handler (.copyerr2):
144 * 1. %l6 always holds the caller's lofault handler. Also in this register,
156 * 4. Code run under the new lofault handler must be kept to a minimum. In
158 * lofault handler has been restored.
500 set .copyerr, %l6 ! copyerr is lofault value
577 ! existing lofault handler. In that case we're expected to
582 andn %l6, COPY_FLAGS, %l6 ! remove flags from lofault address
648 ! and the saved lofault was zero, we won't reset lofault o
[all...]
/illumos-gate/usr/src/uts/sun4v/cpu/
H A Dgeneric_copy.s78 set .copyerr, %l7 ! copyerr is lofault value
550 * Place our secondary lofault handler into %g5.
607 * properly, the value of the 'real' lofault handler should be in REAL_LOFAULT.
1581 ! or bzero(). kzero() *always* sets a lofault handler.
1584 ! bzero() sets a lofault handler *only* if one was
H A Dniagara_copy.s103 * In leaf lofault handler:
107 * In lofault handler:
432 or %o4, %lo(.sm_copyerr), %o4 ! .sm_copyerr is lofault value
443 sethi %hi(.copyerr), %l7 ! copyerr is lofault value
463 ! we only set t_lofault if there was an existing lofault handler.
528 ! we only set t_lofault if there was an existing lofault handler.
532 andn %o5, COPY_FLAGS, %o5 ! remove flags from lofault address
572 set .copyerr, %l7 ! copyerr is lofault value
620 or %o4, %lo(.sm_copyerr), %o4 ! .sm_copyerr is lofault value
677 andn %o5, COPY_FLAGS, %o5 ! remove flags from lofault addres
[all...]
/illumos-gate/usr/src/uts/sun4/ml/
H A Dinterrupt.s938 stn %g0, [THREAD_REG + T_LOFAULT]! clear lofault data
944 add %o5, CPU_LFD, %o4 ! %o4 has lofault data offset
945 stn %l3, [%o3 + %o4] ! save lofault data for pil %o2
/illumos-gate/usr/src/uts/intel/ia32/ml/
H A Dcopy.s91 * 4. The first thing we should do after coming out of an lofault handler is to
192 * pass lofault value as 4th argument to do_copy_fault
198 movq T_LOFAULT(%r9), %r11 /* save the current lofault */
199 movq %rcx, T_LOFAULT(%r9) /* new lofault */
209 movq %r11, T_LOFAULT(%r9) /* restore original lofault */
233 lea _kcopy_copyerr, %eax /* lofault value */
243 pushl %edi /* save the current lofault */
244 movl %eax, T_LOFAULT(%edx) /* new lofault */
265 movl %ecx, T_LOFAULT(%edx) /* restore the original lofault */
326 * pass lofault valu
[all...]

Completed in 100 milliseconds