Lines Matching refs:trap
292 * Program - floating point exception, illegal inst, priv inst, user trap
367 addi r11,r11,8 ; make a 0 iff this is a 0xFFFFFFF8 trap
368 cntlzw r13,r13 ; set bit 0x20 iff a 0x7FFx trap
369 cntlzw r11,r11 ; set bit 0x20 iff a 0xFFFFFFF8 trap
585 * 2. If (syscall & 0xFFFFF000) == 0x00006000, then it is a PPC-only trap.
592 * Firmware.s, though the special "Cut Trace" trap (0x80000000) is handled here as an ultra
593 * fast trap.
2300 ; This is set by an emulation routine to trap any faults when it is fetching data or
2843 ; When the program check is a trap instruction and it happens when
2844 ; we are executing injected code, we need to check if it is an exit trap.
2856 rlwimi r5,r5,15,31,31 ; Scoot trap flag down to a spare bit
2858 li r0,0x0023 ; Get bits that match scooted trap flag, IR, and RI
2861 cmplwi cr1,r0,1 ; Make sure we were IR off, RI off, and got a trap exception
2862 crandc cr0_eq,cr1_eq,cr0_eq ; If we are injecting, ijsave will be non-zero and we had the trap bit set
2866 lwz r4,0(r4) ; Get the trap instruction
2867 lis r5,hi16(ijtrap) ; Get high half of inject exit trap
2869 cmplw r4,r5 ; Correct trap instruction?
3129 lis r3,0x0FFF ; Build our magic trap
3130 ori r3,r3,0xC9C9 ; Build our magic trap
3132 stwx r3,r5,r26 ; Save the magic trap
3404 lis r3,0x0FFF ; Build our magic trap
3405 ori r3,r3,0xC9C9 ; Build our magic trap
3407 stwx r3,r5,r26 ; Save the magic trap