| /src/sys/arch/arm/arm32/ |
| cpuswitch.S | 102 * cpu_switchto(struct lwp *current, struct lwp *next) 111 ENTRY(cpu_switchto) function 281 /* cpu_switchto returns the old lwp */ 291 * Pull the registers that got pushed when cpu_switchto() was called, 296 END(cpu_switchto) 300 * cpu_switchto gives us: 394 dmb /* for mutex_enter; see cpu_switchto */ 438 dmb /* for mutex_enter; see cpu_switchto */ 442 dmb /* for mutex_enter; see cpu_switchto */
|
| /src/sys/arch/m68k/m68k/ |
| switch_subr.s | 67 * struct lwp *cpu_switchto(struct lwp *oldlwp, struct lwp *newlwp) 71 ENTRY(cpu_switchto) function 340 * %a0 will have old lwp from cpu_switchto(), and %a4 is new lwp
|
| /src/sys/arch/powerpc/powerpc/ |
| locore_subr.S | 158 * cpu_switchto(struct lwp *current, struct lwp *new) 165 ENTRY(cpu_switchto) function 332 * cpu_switchto has restored r30/r31 for us. 370 * We need a 2nd callframe from which cpu_switchto will consume 418 sync /* XXX eieio */ /* for mutex_enter; see cpu_switchto */ 462 sync /* XXX eieio */ /* for mutex_enter; see cpu_switchto */ 466 sync /* for mutex_enter; see cpu_switchto */ 538 * r3 (old lwp) and r4 (new lwp) are setup in cpu_switchto.
|
| /src/sys/arch/ia64/ia64/ |
| vm_machdep.c | 67 * The cpu_switchto() function saves the context of the LWP which is 69 * specified by newlwp. man cpu_switchto(9) 72 cpu_switchto(lwp_t *oldlwp, lwp_t *newlwp, bool returning) function 116 /* return oldlwp for the original thread that called cpu_switchto */
|
| /src/sys/arch/sh3/sh3/ |
| locore_subr.S | 82 * LINTSTUB: Func: lwp_t *cpu_switchto(lwp_t *olwp, lwp_t *nlwp, bool returning) 88 ENTRY(cpu_switchto) function 176 SET_ENTRY_SIZE(cpu_switchto) 384 * nascent lwp is selected by cpu_switchto(). 391 * cpu_switchto(), so r0 contains previous lwp (the one we are 400 mov r0, r4 /* previous lwp returned by cpu_switchto */
|
| /src/sys/arch/vax/include/ |
| macros.h | 336 cpu_switchto(struct lwp *oldlwp, struct lwp *newlwp, bool returning) function
|
| /src/sys/arch/amd64/amd64/ |
| locore.S | 1375 * Mimic cpu_switchto() for postmortem debugging. 1397 * struct lwp *cpu_switchto(struct lwp *oldlwp, struct lwp *newlwp, 1407 ENTRY(cpu_switchto) function 1464 movq $_C_LABEL(cpu_switchto), CPUVAR(XEN_CLOCKF_PC) 1540 * mi_switch(), when cpu_switchto() returns. XXX Still needed? */ 1611 END(cpu_switchto)
|
| /src/sys/arch/hppa/hppa/ |
| locore.S | 793 * cpu_switchto(struct lwp *oldl, struct lwp *newl, bool returning) 796 ENTRY(cpu_switchto,128) function 819 .asciz "cpu_switchto: 0x%08x stack/len 0x%08x" 970 EXIT(cpu_switchto) 974 * cpu_switchto() has switched to it for the first time. 977 * arranges for cpu_switchto() to call us with a frame containing 980 * cpu_switchto() also makes sure that %arg0 and %arg1 are (still) 987 /* %arg0, %arg1 are still valid from cpu_switchto */
|
| /src/sys/arch/i386/i386/ |
| locore.S | 1462 * cpu_switchto()ing to the process, so we abuse the callee-saved 1463 * registers used by cpu_switchto() to store the information about the 1542 * Mimic cpu_switchto() for postmortem debugging. 1556 * struct lwp *cpu_switchto(struct lwp *oldlwp, struct lwp *newlwp, 1566 ENTRY(cpu_switchto) function 1622 movl $_C_LABEL(cpu_switchto), CPUVAR(XEN_CLOCKF_PC) 1726 END(cpu_switchto)
|
| /src/sys/arch/usermode/dev/ |
| cpu.c | 244 cpu_switchto(lwp_t *oldlwp, lwp_t *newlwp, bool returning) function 252 thunk_printf_debug("cpu_switchto [%s,pid=%d,lid=%d] -> [%s,pid=%d,lid=%d]\n", 295 thunk_printf_debug("cpu_switchto: returning %p (was %p)\n", ci->ci_stash, oldlwp);
|
| /src/sys/arch/sparc/sparc/ |
| locore.s | 4831 * cpu_switchto() runs an lwp, saving the current one away. 4833 ENTRY(cpu_switchto) function 5010 * cpu_switchto(), so %o0 contains previous lwp (the one we are
|
| /src/sys/arch/sparc64/sparc64/ |
| locore.s | 6692 * cpu_switchto() switches to an lwp to run and runs it, saving the 6695 * struct lwp * cpu_switchto(struct lwp *current, struct lwp *next) 6704 ENTRY(cpu_switchto) function 6861 membar #StoreStore /* for mutex_enter; see cpu_switchto */ 6882 membar #StoreStore /* for mutex_enter; see cpu_switchto */ 6884 membar #StoreLoad /* for mutex_enter; see cpu_switchto */ 6895 * Trampoline function that gets returned to by cpu_switchto() when 6899 * o0 old lwp from cpu_switchto() 6948 * cpu_switchto(), so %o0 contains previous lwp (the one we are
|