Lines Matching refs:trap
35 * Interrupt, trap, system call and debugger entry. Each has it's own
52 #include <ppc/trap.h>
87 * another trap is taken. We need at least enough space for a saved state
185 /* call trap handler proper, with
202 crnor cr7_eq,cr0_eq,cr2_gt ; We should intercept if in VM and is a true trap (cr7_eq == 1 if yes)
217 beq- exitFromVM ; Any true trap but T_MACHINE_CHECK exits us from the VM...
220 * to do except generate a trap
229 bl EXT(trap)
241 * interrupt and went immediatly into trap.
358 noassist: cmplwi r15,0x7000 ; Do we have a fast path trap?
566 beq-- .L_ksystrace_trapcall ; just make the trap call
631 beq-- .L_kernel_syscall_trapcall ; null munger - skip to trap call
840 /* If the system call flag isn't set, then we came from a trap,
1079 * we took a trap and jump into the trap handler. To do this
1081 * at the last minute jump into the trap handler with an AST
1082 * trap instead of performing an rfi.
1087 b EXT(thandler) ; We need to preempt so treat like a trap...
1582 * li r0, CthreadSetSelfNumber // load the fast-trap number
1583 * sc // invoke fast-trap
1605 * recognize the trap instruction we go back for regular processing.
1617 cmplwi r0,T_AST ; Check for T_AST trap
1619 crnand cr1_eq,SRR1_PRG_TRAP_BIT,MSR_PR_BIT ; We need both trap and user state
1621 cror cr0_eq,cr0_eq,cr1_eq ; Need to bail if AST or not trap or not user state
1623 cror cr0_eq,cr0_eq,cr1_gt ; Also leave it trap not in range
1624 btlr- cr0_eq ; No assist if AST or not trap or not user state or trap not in range