- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 49 for m_curg (0.1 sec)
-
src/runtime/asm_mips64x.s
// save that information (m->curg->sched) so we can restore it. // We can restore m->curg->sched.sp easily, because calling // runtime.cgocallbackg leaves SP unchanged upon return. // To save m->curg->sched.pc, we push it onto the curg stack and // open a frame the same size as cgocallback's g0 frame. // Once we switch to the curg stack, the pushed PC will appear // to be the return PC of cgocallback, so that the traceback
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 06 19:45:59 UTC 2023 - 24.3K bytes - Viewed (0) -
src/runtime/sys_linux_ppc64x.s
MOVD g_m(R9), R6 CMP $0, R6 BEQ sigtramp // g.m == nil MOVW m_ncgo(R6), R7 CMPW $0, R7 BEQ sigtramp // g.m.ncgo = 0 MOVD m_curg(R6), R7 CMP $0, R7 BEQ sigtramp // g.m.curg == nil MOVD g_syscallsp(R7), R7 CMP $0, R7 BEQ sigtramp // g.m.curg.syscallsp == 0 MOVD m_cgoCallers(R6), R7 // R7 is the fifth arg in C calling convention. CMP $0, R7 BEQ sigtramp // g.m.cgoCallers == nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 18:17:17 UTC 2024 - 18.1K bytes - Viewed (0) -
src/runtime/asm_wasm.s
// if g == g0 Get g Get R2 I64Eq If // no switch: MOVD R0, CTXT Get CTXT I32WrapI64 I64Load $0 JMP End // if g != m.curg Get g I64Load m_curg(R1) I64Ne If CALLNORESUME runtime·badsystemstack(SB) CALLNORESUME runtime·abort(SB) End // switch: // save state in g->sched. Pretend to
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 20 21:26:51 UTC 2023 - 11.8K bytes - Viewed (0) -
src/runtime/asm_riscv64.s
// save that information (m->curg->sched) so we can restore it. // We can restore m->curg->sched.sp easily, because calling // runtime.cgocallbackg leaves SP unchanged upon return. // To save m->curg->sched.pc, we push it onto the curg stack and // open a frame the same size as cgocallback's g0 frame. // Once we switch to the curg stack, the pushed PC will appear // to be the return PC of cgocallback, so that the traceback
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 09 13:57:06 UTC 2023 - 27K bytes - Viewed (0) -
src/runtime/asm_s390x.s
// save that information (m->curg->sched) so we can restore it. // We can restore m->curg->sched.sp easily, because calling // runtime.cgocallbackg leaves SP unchanged upon return. // To save m->curg->sched.pc, we push it onto the curg stack and // open a frame the same size as cgocallback's g0 frame. // Once we switch to the curg stack, the pushed PC will appear // to be the return PC of cgocallback, so that the traceback
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 25 09:18:28 UTC 2024 - 28.1K bytes - Viewed (0) -
src/runtime/asm_mipsx.s
// save that information (m->curg->sched) so we can restore it. // We can restore m->curg->sched.sp easily, because calling // runtime.cgocallbackg leaves SP unchanged upon return. // To save m->curg->sched.pc, we push it onto the curg stack and // open a frame the same size as cgocallback's g0 frame. // Once we switch to the curg stack, the pushed PC will appear // to be the return PC of cgocallback, so that the traceback
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 06 11:46:29 UTC 2024 - 26.3K bytes - Viewed (0) -
src/runtime/asm_loong64.s
MOVV g_m(g), R4 // R4 = m MOVV m_gsignal(R4), R5 // R5 = gsignal BEQ g, R5, noswitch MOVV m_g0(R4), R5 // R5 = g0 BEQ g, R5, noswitch MOVV m_curg(R4), R6 BEQ g, R6, switch // Bad: g is not gsignal, not g0, not curg. What is it? // Hide call from linker nosplit analysis. MOVV $runtime·badsystemstack(SB), R7 JAL (R7) JAL runtime·abort(SB) switch:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 15:04:25 UTC 2024 - 26.5K bytes - Viewed (0) -
src/runtime/sys_linux_riscv64.s
MOV m_vdsoPC(S3), T0 MOV T0, 24(X2) MOV m_vdsoSP(S3), T0 MOV T0, 32(X2) MOV RA, m_vdsoPC(S3) MOV $ret-8(FP), T1 // caller's SP MOV T1, m_vdsoSP(S3) MOV m_curg(S3), T1 BNE g, T1, noswitch MOV m_g0(S3), T1 MOV (g_sched+gobuf_sp)(T1), X2 noswitch: SUB $24, X2 // Space for result ANDI $~7, X2 // Align for C code MOV $8(X2), A1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 09 13:57:06 UTC 2023 - 11.5K bytes - Viewed (0) -
src/runtime/sys_linux_loong64.s
MOVV m_vdsoPC(R24), R11 MOVV m_vdsoSP(R24), R7 MOVV R11, 8(R3) MOVV R7, 16(R3) MOVV $ret-8(FP), R11 // caller's SP MOVV R1, m_vdsoPC(R24) MOVV R11, m_vdsoSP(R24) MOVV m_curg(R24), R4 MOVV g, R5 BNE R4, R5, noswitch MOVV m_g0(R24), R4 MOVV (g_sched+gobuf_sp)(R4), R25 // Set SP to g0 stack noswitch: SUBV $16, R25 AND $~15, R25 // Align for C code MOVV R25, R3
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 25 20:58:13 UTC 2023 - 14.2K bytes - Viewed (0) -
src/runtime/asm_arm.s
// save that information (m->curg->sched) so we can restore it. // We can restore m->curg->sched.sp easily, because calling // runtime.cgocallbackg leaves SP unchanged upon return. // To save m->curg->sched.pc, we push it onto the curg stack and // open a frame the same size as cgocallback's g0 frame. // Once we switch to the curg stack, the pushed PC will appear // to be the return PC of cgocallback, so that the traceback
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 23 21:00:52 UTC 2024 - 32.1K bytes - Viewed (0)