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

Lines Matching refs:in

7  * as defined in and that are subject to the Apple Public Source License
8 * Version 2.0 (the 'License'). You may not use this file except in
39 * The code for the FPU disabled handler (lazy fpu) is in cswtch.s
69 * Everything is saved in savearea
75 * leaving enough space for the 'red zone' in case the
76 * trapped thread was in the middle of saving state below
115 stw r8,SAVprev+4(r4) ; Queue the new save area in the front
197 rlwinm. r0,r0,0,runningVMbit,runningVMbit ; Are we in VM state? (cr0_eq == 0 if yes)
198 cmplwi cr2,r5,T_TRACE-T_DATA_ACCESS ; Are we still in range? (cr_gt if not)
202 crnor cr7_eq,cr0_eq,cr2_gt ; We should intercept if in VM and is a true trap (cr7_eq == 1 if yes)
211 crandc cr0_eq,cr7_eq,cr0_eq ; Do not intercept if we are in the kernel (cr0_eq == 1 if yes)
233 ori r10,r10,lo16(MASK(MSR_FP)|MASK(MSR_EE)) ; Add in FP and EE
296 * Everything is saved in savearea
304 * syscall, look it up in the kernel table
315 * PPC-only system calls are in the range 0x6xxx
316 * PPC-only "fast" traps are in the range 0x7xxx
344 crmove cr6_eq,runningVMbit ; Remember if we are in VMM
348 beq sVMchecked ; Not in FAM
372 stw r14,SAVprev+4(r4) ; Queue the new save area in the front
460 lwz r3,saver3+4(r30) ; Get the new PC address to pass in
465 * saved state is still in R30 and the active thread is in R16 .
476 ; they should be. We are in a state here where
481 ; in the savearea/pcb. It also must set saver3 with any return
500 ori r10,r10,lo16(EXT(PPCcalls)) ; Merge in low half
505 ; Note: make sure we do not change the savearea in R30 to
547 mr r4,r30 ; Pass in saved state
550 cmplw r31,r29 ; Is this syscall in the table?
575 mr r4,r30 ; Pass in the savearea
586 * r30 = pointer to saved state (in pcb)
615 cmplwi r31,MACH_TRAP_TABLE_COUNT ; Is this syscall in the table?
650 * saved state is still in R30 and the active thread is in R16
678 ori r10,r10,lo16(MASK(MSR_FP)|MASK(MSR_EE)) ; Add in FP and EE
783 ori r10,r10,lo16(MASK(MSR_FP)|MASK(MSR_EE)) ; Add in FP and EE
842 * which takes PCB pointer in R3, not in r30!
846 mr r3,r30 ; Copy pcb pointer into r3 in case we need it
884 * Everything is saved in savearea
916 stw r14,SAVprev+4(r4) ; Queue the new save area in the front
958 stw r0,PP_ISTACKPTR(r25) ; Mark the stack in use
1031 /* interrupt() returns a pointer to the saved state in r3 */
1035 ori r10,r10,lo16(MASK(MSR_FP)|MASK(MSR_EE)) ; Add in FP and EE
1058 andc r7,r7,r11 ; Remove the stack reset bit in case we pass this one
1094 li r4,0 ; Assume for a moment that we are in init
1096 beq-- cr1,chkfac ; Jump away if we are in init...
1123 mr. r28,r8 ; Are we still in boot?
1155 #error per_proc_entry is not 16bytes in size
1201 lwz r8,quickfret(r31) ; Get the first in quickfret list (top)
1202 lwz r9,quickfret+4(r31) ; Get the first in quickfret list (bottom)
1205 stw r8,SAVprev(r22) ; Link the old in (top)
1206 stw r9,SAVprev+4(r22) ; Link the old in (bottom)
1208 stw r2,quickfret(r31) ; Set the first in quickfret list (top)
1209 stw r3,quickfret+4(r31) ; Set the first in quickfret list (bottom)
1287 lwz r8,quickfret(r31) ; Get the first in quickfret list (top)
1288 lwz r9,quickfret+4(r31) ; Get the first in quickfret list (bottom)
1291 stw r8,SAVprev(r24) ; Link the old in (top)
1292 stw r9,SAVprev+4(r24) ; Link the old in (bottom)
1294 stw r2,quickfret(r31) ; Set the first in quickfret list (top)
1295 stw r3,quickfret+4(r31) ; Set the first in quickfret list (bottom)
1367 lwz r8,quickfret(r31) ; Get the first in quickfret list (top)
1368 lwz r9,quickfret+4(r31) ; Get the first in quickfret list (bottom)
1371 stw r8,SAVprev(r22) ; Link the old in (top)
1372 stw r9,SAVprev+4(r22) ; Link the old in (bottom)
1374 stw r2,quickfret(r31) ; Set the first in quickfret list (top)
1375 stw r3,quickfret+4(r31) ; Set the first in quickfret list (bottom)
1412 lwz r8,quickfret(r31) ; Get the first in quickfret list (top)
1413 lwz r9,quickfret+4(r31) ; Get the first in quickfret list (bottom)
1416 stw r8,SAVprev(r24) ; Link the old in (top)
1417 stw r9,SAVprev+4(r24) ; Link the old in (bottom)
1419 stw r2,quickfret(r31) ; Set the first in quickfret list (top)
1420 stw r3,quickfret+4(r31) ; Set the first in quickfret list (bottom)
1431 setena: lwz r18,umwSpace(r28) ; Get the space ID in case we are launching user
1440 oris r18,r18,hi16(umwSwitchAway) ; Set the switch-away bit in case we go to user
1446 or r5,r5,r20 ; Set vector/float changed bits in activation
1447 or r6,r6,r20 ; Set vector/float changed bits in per_proc
1578 * in case a 64-bit task wants to use this facility. They normally do not, because the 64-bit
1588 lwz r3,saver3+0(r4) /* get the TLDP passed in r3 */
1589 lwz r5,saver3+4(r4) /* (all 64 bits, in case this is a 64-bit task) */
1590 stw r3,CTHREAD_SELF+0(r13) /* Remember it in the activation... */
1592 stw r3,UAW+0(r25) /* ...and in the per-proc */
1622 cmplwi cr1,r24,BB_MAX_TRAP ; Do we fit in the list?
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
1650 mr r3,r30 ; Put savearea in proper register for common code
1673 ; problems in low-level mapping chains, trashed savearea free chains,
1676 ; Note that we can not set a back chain in the stack when we come
1801 rlwinm. r23,r23,0,0,0 ; (TEST/DEBUG) Is this in use?
1802 beq+ fcknvmm ; (TEST/DEBUG) Not in use...