Lines Matching refs:trap
62 #include <i386/trap.h>
98 * No error code. Clear error code and push trap number.
111 * Interrupt from user. Clear error code and push trap number.
152 * Error code has been pushed. Push trap number.
491 * trap number
544 addl $8,%esp /* discard trap number and error code */
562 pushl $0 /* clear trap number slot */
570 pushl $0 /* clear trap number slot */
578 pushl $0 /* clear trap number slot */
586 pushl $0 // Clear trap number slot
621 pushl $0 /* clear trap number slot */
670 pushl $(T_PAGE_FAULT) /* mark a page fault trap */
681 * Debug trap. Check for single-stepping across system call into
682 * kernel. If this is the case, taking the debug trap has turned
689 /* trap came from kernel mode */
712 * that eflags (containing the trap bit) is set atomically.
728 pushl $(T_DEBUG) /* handle as user trap */
740 * esp-> 0: trap code (NP or GP)
745 * 20 old registers (trap is from kernel)
757 /* trap was from kernel mode, so */
780 * 0 trap number
793 popl %eax /* get trap number */
794 movl %eax,12-4(%esp) /* put in user trap number */
809 popl %eax /* get trap number */
814 popl %eax /* get trap number */
819 popl %eax /* get trap number */
824 popl %eax /* get trap number */
837 movl %eax,R_TRAPNO(%esp) /* set trap number */