Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for m_curg (0.12 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/runtime/asm_ppc64x.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: Wed May 22 18:17:17 UTC 2024
    - 45.4K bytes
    - Viewed (0)
  7. src/runtime/asm_386.s

    	// 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 Mar 15 15:45:13 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  8. src/runtime/asm_arm64.s

    	// but *not* resuming what had been running, we need to
    	// 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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 43.4K bytes
    - Viewed (0)
  9. src/runtime/race_amd64.s

    	CALL	runtime·racecallback(SB)
    	POPQ	R12
    	POPQ	R12
    	// All registers are smashed after Go code, reload.
    	get_tls(R12)
    	MOVQ	g(R12), R13
    	MOVQ	g_m(R13), R13
    	MOVQ	m_curg(R13), R14
    	MOVQ	R14, g(R12)	// g = m->curg
    ret:
    	POP_REGS_HOST_TO_ABI0()
    	RET
    
    noswitch:
    	// already on g0
    	PUSHQ	RARG1	// func arg
    	PUSHQ	RARG0	// func arg
    	CALL	runtime·racecallback(SB)
    	POPQ	R12
    	POPQ	R12
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  10. src/runtime/race_arm64.s

    	MOVD	R14, g
    
    	MOVD	R0, 8(RSP)	// func arg
    	MOVD	R1, 16(RSP)	// func arg
    	BL	runtime·racecallback(SB)
    
    	// All registers are smashed after Go code, reload.
    	MOVD	g_m(g), R13
    	MOVD	m_curg(R13), g	// g = m->curg
    ret:
    	// Restore callee-saved registers.
    	MOVD	0(RSP), LR
    	MOVD	(8*21)(RSP), R29
    	RESTORE_F8_TO_F15(8*13)
    	RESTORE_R19_TO_R28(8*3)
    	ADD	$176, RSP
    	JMP	(LR)
    
    noswitch:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 15.5K bytes
    - Viewed (0)
Back to top