Searched refs:r31 (Results 1 - 22 of 22) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/libkern/c++/
H A DOSObjectAsm.s44 stw r31,-4(r1)
47 mr r31,r3
64 lwz r9,0(r31)
65 mr r3,r31
71 lwz r31,-4(r1)
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/
H A DEmulate.s75 emn64: mfsprg r31,0 ; Get the per_proc
227 mfsprg r31,0 ; Get the per_proc
229 lwz r21,spcFlags(r31) ; Grab the special flags
248 dcbz r29,r31 ; Clear and allocate a cache line for us to work in
283 stw r10,emfp0(r31) ; Save the first half
284 stw r11,emfp0+4(r31) ; Save the second half, just in case we need it
298 lwz r10,emfp0(r31) ; Get first word
300 lwz r11,emfp0+4(r31) ; and the second
1062 lfs f0,emfp0(r31) ; Load single variant
1065 stfs f0,emfp0(r31) ; Stor
[all...]
H A Dhw_vm.s158 stw r31,FM_ARG0+0x38(r1) ; Save a register
169 mr r31,r4 ; Save the mapping
183 xor r31,r31,r21 ; Convert the mapping to physical addressing
188 lwz r24,mpFlags(r31) ; Pick up the flags
199 hamRescan: lwz r4,mpVAddr(r31) ; Get the new vaddr top half
200 lwz r5,mpVAddr+4(r31) ; Get the new vaddr bottom half
202 lhz r23,mpBSize(r31) ; Get the block size for later
266 mr r4,r31 ; Point to the mapping
270 lhz r8,mpSpace(r31) ; Ge
[all...]
H A Dhw_exception.s131 lwz r31,savesrr1+4(r4) ; Pick up the entry MSR
143 rlwinm. r6,r31,0,MSR_VEC_BIT,MSR_VEC_BIT ; Was vector on?
203 rlwinm. r0,r31,0,MSR_PR_BIT,MSR_PR_BIT ; Are we trapping from supervisor state? (cr0_eq == 1 if yes)
467 mr r31,r16 ; Move the current thread pointer
531 mr r31,r16 ; Restore the current thread pointer
550 cmplw r31,r29 ; Is this syscall in the table?
551 add r31,r27,r28 ; Point right to the syscall table entry
557 lwz r0,MACH_TRAP_ARG_MUNGE32(r31) ; Pick up the 32 bit munge function address
559 lwz r0,MACH_TRAP_ARG_MUNGE64(r31) ; Pick up the 64 bit munge function address
570 lwz r0,MACH_TRAP_FUNCTION(r31) ; Pic
[all...]
H A Dmovc.s471 // using compare instructions on this ptr. This mapped ptr is kept globally in r31, so there
631 stw r31,kkR31Save(r1) // we use r31 globally for mapped user ptr
651 li r31,0 // no mapped ptr yet
693 mr r31,r4 // r31 <- mapped ptr into user space (may be 64-bit)
696 rldimi r31,r3,32,0 // slam high-order bits into mapped ptr
710 mr r3,r31 // source is mapped ptr
714 mr r4,r31 // dest is mapped ptr into user space
721 // r31
[all...]
H A D_setjmp.s78 stw r31, 76(ARG0)
150 lwz r31, 76(ARG0)
H A Dlowmem_vectors.s1367 la r16,saver28(r13) ; point to line with r28-r31
1376 dcbz 0,r16 ; allocate 32-byte line with r28-r31
1383 stw r31,saver31+4(r13) ; Save this one
1737 std r31,saver31(r13) ; Save this one
3050 mr r31,r13 ; Move the savearea pointer to the far end of the register set
3063 la r21,saver0(r31) ; Point to the first thing we restore
3077 lwz r30,SAVflags(r31) ; Pick up the flags
3110 mr r3,r31 ; Get the exiting savearea in parm register
3113 stw r0,SAVflags(r31) ; Yes we are, clear the request...
3116 lwz r25,saveinstr(r31) ; Ge
[all...]
H A DEmulate64.s207 mfsprg r31,0 // get the per_proc data ptr
209 lwz r21,spcFlags(r31) // grab the special flags
296 // r31 = per-proc pointer
353 mtctr r22 // set up address of "lfs fRT,emfp0(r31)"
354 stw r30,emfp0(r31) // put word here for aaFPopTable routine
363 mtctr r22 // set up address of "stfs fRT,emfp0(r31)"
365 lwz r30,emfp0(r31) // get the word
376 lwz r30,emfp0+4(r31) // get the low-order word
386 mtctr r22 // set up address of "lfd fRT,emfp0(r31)"
387 std r30,emfp0(r31) // pu
[all...]
H A DFirmware.s1821 mr r31,r6 /* Get a more sane base register */
1826 stfd f0,GDfp0(r31) /* Save FP */
1827 stfd f1,GDfp1(r31) /* Save FP */
1828 stfd f2,GDfp2(r31) /* Save FP */
1829 stfd f3,GDfp3(r31) /* Save FP */
1834 lwz r28,GDtopleft(r31) /* Get the physical address of our line 0 */
1836 lwz r27,GDrowbytes(r31) /* Get the number of bytes per row */
1837 lwz r9,GDrowchar(r31) /* Get the number of bytes per row of full leaded charactrers */
1838 lwz r26,GDdepth(r31) /* Get the bit depth */
1840 lwz r24,GDcollgn(r31) /* Ge
[all...]
H A Dsavearea_asm.s980 stw r31,FM_SIZE+12(r1) ; Save R31
1033 li r31,0 ; Show we have no free pool blocks yet
1053 ; r31 = free pool block list
1084 cmplwi cr5,r31,0 ; Is this guy on the release list?
1092 lwz r0,SACvrswap+4(r31) ; Load the previous pool page vr conversion
1095 xor r0,r0,r31 ; Make the last guy virtual
1098 mr r31,r2 ; My physical is now the head of the chain
1143 li r31,0 ; Show we have no free pool blocks yet
1157 ; r31 = free pool block list
1189 cmpldi cr5,r31,
[all...]
H A Dvmachmon_asm.s367 rlwinm r31,r4,24,24,31 ; Get the address space
375 subic. r31,r31,1 ; Make address space 0 based and test if we use default
380 mr r31,r4 ; Default the address space to the context ID
388 cmplwi cr1,r31,kVmmMaxContexts ; See if we have a valid address space ID
393 sub r8,r8,r31 ; Get diff between launching address space - 1 and last mapped into (should be 1 if the same)
394 rlwinm r31,r31,2,0,29 ; Index to the pmap
397 lwzx r31,r26,r31 ; Ge
[all...]
H A Dstatus.c185 ts->r31 = (unsigned int)sv->save_r31;
257 xts->r31 = sv->save_r31;
506 ts->r31 = (unsigned int)sv->save_r31;
578 xts->r31 = sv->save_r31;
774 genuser->save_r31 = (uint64_t)ts->r31;
832 genuser->save_r31 = xts->r31;
H A Dskiplists.s823 * We use r20-r31, cr0, cr1, and cr7. If we return, no inconsistencies were found.
934 stw r31,0x0F8+4(r19)
972 std r31,0x0F8(r19)
985 mflr r31 ; save LR so we can bl to mapVerifyDie
1122 mtlr r31 ; restore return address
1245 mtlr r31 ; restore return address
1272 mtlr r31 ; Restore return
1273 lis r31,hi16(EXT(DebugWork))
1274 ori r31,r31,lo1
[all...]
H A Dstart.s151 mr r31,r3 ; Save away arguments
464 mr r3,r31 ; Restore any arguments we may have trashed
472 mfsprg r31,1 ; Fake activation pointer
473 lwz r31,ACT_PER_PROC(r31) ; Load per_proc
474 lwz r29,PP_INTSTACK_TOP_SS(r31) ; move onto interrupt stack
480 mr r3,r31 ; Restore any arguments we may have trashed
H A Dcswtch.s590 lwz r31,FPUlevel(r22) ; Get the context level
601 cmplw r31,r27 ; See if the current and active levels are the same
676 cmplw r31,r11 ; Are live and saved the same?
682 mr r5,r31 ; (TEST/DEBUG)
696 stw r31,SAVlevel(r3) ; Tag our level
973 cmplw r11,r31 ; Are live and saved the same?
1332 lwz r31,VMXlevel(r22) ; Get the context level
1345 cmplw r31,r27 ; See if the current and active levels are the same
1410 cmplw r31,r11 ; Are live and saved the same?
1416 mr r5,r31 ; (TES
[all...]
H A Dmachine_routines_asm.s2053 stw r31, FM_ARG0+0x0C(r1) ; Save a register
2056 mfsprg r31,1 ; Get the current activation
2057 lwz r31,ACT_PER_PROC(r31) ; Get the per_proc block
2062 lwzx r29, r31, r3 ; Load the PowerTune number 0 or 1
2065 ld r3, pfHID0(r31) ; Load the saved hid0 value
2123 lwz r31, FM_ARG0+0x0C(r1) ; Restore a register
/macosx-10.5.8/xnu-1228.15.4/osfmk/mach/ppc/
H A D_types.h82 unsigned int r31; member in struct:ppc_thread_state
129 unsigned long long r31; member in struct:ppc_thread_state64
H A D_structs.h127 unsigned int r31; variable
226 unsigned long long r31; variable
/macosx-10.5.8/xnu-1228.15.4/libsa/ppc/
H A Dsetjmp.s81 stw r31, 76(ARG0)
153 lwz r31, 76(ARG0)
/macosx-10.5.8/xnu-1228.15.4/EXTERNAL_HEADERS/architecture/ppc/
H A Dreg_help.h84 #define fp r31 // frame-pointer, callee-saved
/macosx-10.5.8/xnu-1228.15.4/osfmk/chud/ppc/
H A Dchud_thread_ppc.c96 ts->r31 = (unsigned int)sv->save_r31;
148 xts->r31 = sv->save_r31;
213 sv->save_r31 = (uint64_t)ts->r31;
261 sv->save_r31 = xts->r31;
/macosx-10.5.8/xnu-1228.15.4/osfmk/kdp/ml/ppc/
H A Dkdp_machdep.c180 state->r31 = (unsigned int)saved_state->save_r31;
231 state->r31 = saved_state->save_r31;
314 saved_state->save_r31 = state->r31;
363 saved_state->save_r31 = state->r31;

Completed in 77 milliseconds