• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/

Lines Matching refs:this

8  * Version 2.0 (the 'License'). You may not use this file except in
16 * http://www.opensource.apple.com/apsl/ and read it before using this file.
108 beq- cr0,EXT(ihandler) ; If on interrupt stack, treat this as interrupt...
113 bnel- checkassist ; See if we should assist this
123 stw r13,SAVact(r4) ; Mark the savearea as belonging to this activation
133 li r0,0 ; Make this 0
205 cmpi cr2,r3,T_PREEMPT ; Is this a preemption?
301 * this is an error - jump to the debugger entry
371 li r0,0 ; Clear this out
423 oris r15,r15,SAVsyscall >> 16 ; Mark that it this is a syscall
433 blt-- .L_kernel_syscall ; System call number if negative, this is a mach call...
485 ; 0 the call is disabled or something, we treat this like it was bogus
492 ; NOTE: Both R16 (thread) and R30 (savearea) need to be preserved over this call!!!!
550 cmplw r31,r29 ; Is this syscall in the table?
604 neg r31,r0 ; Make this positive
615 cmplwi r31,MACH_TRAP_TABLE_COUNT ; Is this syscall in the table?
724 neg r28,r0 ; Make this positive
735 cmpw cr0,r27,r28 ; Check if this is an invalid system call
901 li r14,0 ; Zero this for now
904 li r16,0 ; Zero this for now
959 oris r10,r10,hi16(SAVrststk) ; Indicate we reset stack when we return from this one
1045 andis. r11,r7,hi16(SAVrststk) ; Is this the first on the stack?
1058 andc r7,r7,r11 ; Remove the stack reset bit in case we pass this one
1079 * we took a trap and jump into the trap handler. To do this
1113 ; Note that barring unforseen crashes, there is no escape from this point
1114 ; on. We WILL call exception_exit and launch this context. No worries
1148 lwz r22,FPUcpu(r20) ; Get CPU this context was last dispatched on
1152 eieio ; Make sure this gets out before owner clear
1188 cmplw r21,r27 ; Is this the saved copy of the live stuff?
1197 fpuonlyone: stw r24,FPUsave(r20) ; Dequeue this savearea
1247 mr. r23,r23 ; (TEST/DEBUG) Is this our user context?
1270 cmplw cr1,r19,r24 ; Was facility used on this processor last?
1318 lwz r22,VMXcpu(r20) ; Get CPU this context was last dispatched on
1322 eieio ; Make sure this gets out before owner clear
1354 cmplw r21,r27 ; Is this the saved copy of the live stuff?
1363 vmxonlyone: stw r24,VMXsave(r20) ; Dequeue this savearea
1396 cmplw cr1,r19,r24 ; Was facility used on this processor last?
1454 li r20,0 ; Clear this
1477 bne chkifuser ; If high order is non-zero, this is too big for a decrementer
1478 cmplw r13,r24 ; Is this earlier than the decrementer? (logical compare takes care of high bit on)
1488 beq-- cr7,chkifuser1 ; Skip this if we are going to kernel...
1568 fastpath: cmplwi cr3,r0,0x7FF5 ; Is this a null fastpath?
1576 * Set's thread state "user_value". In practice this is the thread-local-data-pointer (TLDP),
1578 * in case a 64-bit task wants to use this facility. They normally do not, because the 64-bit
1589 lwz r5,saver3+4(r4) /* (all 64 bits, in case this is a 64-bit task) */
1672 ; fatal error. Examples of where this may be used is when we detect
1721 bl EXT(SysChoked) ; Call the "C" phase of this
1777 li r21,SAVgeneral ; (TEST/DEBUG) Make sure this is all general context
1781 li r21,SAVfloat ; (TEST/DEBUG) Make sure this is all floating point
1785 li r21,SAVvector ; (TEST/DEBUG) Make sure this is all vector
1801 rlwinm. r23,r23,0,0,0 ; (TEST/DEBUG) Is this in use?
1805 li r21,SAVfloat ; (TEST/DEBUG) Make sure this is all floating point
1809 li r21,SAVvector ; (TEST/DEBUG) Make sure this is all vector