Lines Matching refs:of
6 * This file contains Original Code and/or Modifications of Original Code
10 * may not be used to create, or enable the creation or redistribution of,
11 * unlawful or unlicensed copies of an Apple operating system, or to
12 * circumvent, violate, or enable the circumvention or violation of, any
13 * terms of an Apple operating system software license agreement.
15 * Please obtain a copy of the License at
33 * There are various types of exception:
37 * code is very similar (a lot of cut and paste).
76 * trapped thread was in the middle of saving state below
83 * and pcb.ksp is set to the top of stack
112 lwz r1,ACT_MACT_KSP(r13) ; Get the top of kernel stack
158 lwz r3,savesrr0+4(r4) ; Get the point of interruption
196 addi r5,r3,-T_DATA_ACCESS ; Adjust to start of range
245 lwz r11,SAVflags(r3) ; Get the flags of the current savearea
272 subi r3,r3,KERNEL_STACK_SIZE-FM_SIZE ; Adjust to start of stack
303 * otherwise depending upon the type of
308 * and pcb.ksp is set to the top of stack.
328 rlwinm r15,r0,0,0,19 ; Clear the bottom of call number for fast check
410 lwz r8,savesrr0+4(r30) ; Get the point of interruption
506 ; a different register without checking. Some of the PPCcalls
576 bl EXT(syscall_trace_end) ; Trace the exit of the system call
598 lis r8,hi16(EXT(kdebug_enable)) ; Get top of kdebug_enable
599 lis r28,hi16(EXT(mach_trap_table)) ; Get address of table
600 ori r8,r8,lo16(EXT(kdebug_enable)) ; Get bottom of kdebug_enable
608 ori r28,r28,lo16(EXT(mach_trap_table)) ; Get address of table
609 add r27,r27,r3 ; for a total of 20x (5 words/entry)
657 stw r0, saver3(r30) ; stash the high part of the return code
658 stw r3,saver3+4(r30) ; Stash the low part of the return code
728 lis r28,hi16(EXT(mach_trap_table)) ; Get address of table
729 add r27,r27,r4 ; for a total of 20x (5 words/entry)
730 ori r28,r28,lo16(EXT(mach_trap_table)) ; Get address of table
733 lis r28,hi16(EXT(kern_invalid)) ; Get high half of invalid syscall function
734 ori r28,r28,lo16(EXT(kern_invalid)) ; Get low half of invalid syscall function
742 * of what it hasn't restored itself (ie. what we use).
871 lis r2,hi16(MSR_EXPORT_MASK_SET) ; Set the high part of the user MSR
893 * get the value of istackptr, if it's zero then we're already on the
928 lwz r10,PP_INTSTACK_TOP_SS(r25) ; Get the top of the interrupt stack
936 subi r5,r5,KERNEL_STACK_SIZE-FM_SIZE ; Adjust to start of stack
1053 * Check for ASTs if one of the below is true:
1082 * trap instead of performing an rfi.
1103 ; and floating point saveareas as the exception level of a thread is
1109 ; R4 = New top of savearea stack (could be 0)
1170 srawi r21,r21,31 ; Get a 0 if equal or -1 of not
1187 lwz r21,SAVlevel(r22) ; Get the level of that savearea
1188 cmplw r21,r27 ; Is this the saved copy of the live stuff?
1245 lwz r23,SAVlevel(r24) ; (TEST/DEBUG) Get level of context
1264 lwz r21,FPUowner(r31) ; Get the ID of the live context
1277 lwz r25,SAVlevel(r24) ; Get the level of savearea
1336 srawi r21,r21,31 ; Get a 0 if equal or -1 of not
1353 lwz r21,SAVlevel(r22) ; Get the level of that savearea
1354 cmplw r21,r27 ; Is this the saved copy of the live stuff?
1390 vmxchkena: lwz r21,VMXowner(r31) ; Get the ID of the live context
1403 lwz r25,SAVlevel(r24) ; Get the level of savearea
1478 cmplw r13,r24 ; Is this earlier than the decrementer? (logical compare takes care of high bit on)
1651 lwz r11,SAVflags(r30) ; Get the flags of the current savearea
1670 ; We get here as a result of a T_CHOKE exception which is generated
1672 ; fatal error. Examples of where this may be used is when we detect
1721 bl EXT(SysChoked) ; Call the "C" phase of this
1792 li r22,kVmmMaxContextsPerThread ; (TEST/DEBUG) Get the number of control blocks
1795 fcknvmm: subi r22,r22,1 ; (TEST/DEBUG) Do all of them