Lines Matching refs:old
77 /* thread_t Switch_context(thread_t old,
102 * Get the old kernel stack, and store into the thread structure.
109 * Switch_context(old, continuation, new)
115 * R4 = old thread
180 mr r4,r3 ; Save our old thread to pass back
214 stw r5,SAVprev(r10) ; Link the old in (top)
215 stw r9,SAVprev+4(r10) ; Link the old in (bottom)
261 stw r5,SAVprev(r10) ; Link the old in (top)
262 stw r9,SAVprev+4(r10) ; Link the old in (bottom)
301 * R4 was set to hold the old thread pointer, but switch_in will put it into
308 ; killing off the old context of the new guy so we need to pop off
319 stw r4,saver3+4(r8) ; Make sure we pass back the old thread
322 b EXT(exception_exit) ; Blocking on continuation, toss old context...
327 * All switched to threads come here first to clean up the old thread.
336 * saver4 = old thread in switcher's save
349 lwz r4,saver4+4(r3) ; Get the old thread
356 lwz r10,ACT_MACT_PCB(r9) ; Get the top PCB on the old thread
359 stw r10,SAVprev+4(r3) ; Chain on the old one
361 mr r3,r4 ; Pass back the old thread
567 ; R22 has the "old" context anchor
587 cmplw cr2,r22,r29 ; Are both old and new the same context?
604 beq-- fsthesame ; New and old are the same, just go enable...
695 stw r30,SAVprev+4(r3) ; Point us to the old context
719 ; never used them before and some thieving bastard could hack the old values
867 mr r3,r14 ; Get the old savearea (we popped it before)
977 mr r3,r30 ; Get the old savearea (we popped it before)
1308 ; R22 has the "old" context anchor
1329 cmplw cr2,r22,r29 ; Are both old and new the same context?
1348 beq-- vswthesame ; New and old are the same, just go enable...
1447 stw r30,SAVprev+4(r3) ; Point us to the old context
1467 ; never used them before and some thieving bastard could hack the old values
1481 stw r7,VMXsync(r22) ; Unlock the old context
1684 mr r3,r30 ; Get the old savearea (we popped it before)