Lines Matching refs:trap
32 #include <i386/trap.h>
77 * Push trap number and address of compatibility mode handler,
89 * Push error(0), trap number and address of compatibility mode handler,
103 * Push error (0), trap number and address of compatibility mode handler,
447 * trap number
455 * Above this is the trap number and compatibility mode handler address
927 incl %gs:hwIntCnt(,%ebx,4) /* Bump the trap/intr count */
1003 * Debug trap. Check for single-stepping across system call into
1004 * kernel. If this is the case, taking the debug trap has turned
1018 * trap came from kernel mode
1021 jne L_enter_lohandler_continue /* trap not in uber-space */
1062 jne L_enter_lohandler_continue /* trap not in uber-space */
1076 * rsp-> 0 ISF64_TRAPNO: trap code (NP or GP)
1077 * 8 ISF64_TRAPFN: trap function
1084 * 64 old registers (trap is from kernel)
1103 /* trap was from kernel mode, so */
1106 jne L_enter_lohandler_continue /* trap not in uber-space */
1128 * Here after taking an unexpected trap from kernel mode - perhaps
1168 * 0 ISF64_TRAPNO: trap code (NP or GP)
1169 * 8 ISF64_TRAPFN: trap function
1186 mov %rax, ISF64_SS(%rsp) /* put in user trap number */
1198 mov %rax, ISF64_SS(%rsp) /* put in user trap number */
1270 /* user mode trap */
1282 CCALL1(user_trap, %ebx) /* call user trap routine */
1288 * Return from trap or system call, checking for ASTs.
1344 * Interrupts must be off here - we will set them to state at time of trap
1352 CCALL1WITHSP(kernel_trap, %eax) /* Call kernel trap handler */