Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 4,241 for mcall (0.12 sec)

  1. src/runtime/sys_windows_arm.s

    	// Prepare for entry to Go.
    	BL	runtime·load_g(SB)
    
    	// Call cgocallback, which will call callbackWrap(frame).
    	MOVW	$0, R0
    	MOVW	R0, 12(R13)	// context
    	MOVW	$16(R13), R1	// R1 = &callbackArgs{...}
    	MOVW	R1, 8(R13)	// frame (address of callbackArgs)
    	MOVW	$·callbackWrap(SB), R1
    	MOVW	R1, 4(R13)	// PC of function to call
    	BL	runtime·cgocallback(SB)
    
    	// Get callback result.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 21 15:56:43 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  2. src/runtime/asm_wasm.s

    	I64Const $8
    	Call	gcWriteBarrier<>(SB)
    	Return
    TEXT runtime·gcWriteBarrier2<ABIInternal>(SB),NOSPLIT,$0
    	I64Const $16
    	Call	gcWriteBarrier<>(SB)
    	Return
    TEXT runtime·gcWriteBarrier3<ABIInternal>(SB),NOSPLIT,$0
    	I64Const $24
    	Call	gcWriteBarrier<>(SB)
    	Return
    TEXT runtime·gcWriteBarrier4<ABIInternal>(SB),NOSPLIT,$0
    	I64Const $32
    	Call	gcWriteBarrier<>(SB)
    	Return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 21:26:51 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  3. src/runtime/tracestack.go

    		pcBuf[0] = uintptr(skip)
    		if getg() == gp {
    			nstk += fpTracebackPCs(unsafe.Pointer(getfp()), pcBuf[1:])
    		} else if gp != nil {
    			// Three cases:
    			//
    			// (1) We're called on the g0 stack through mcall(fn) or systemstack(fn). To
    			// behave like gcallers above, we start unwinding from sched.bp, which
    			// points to the caller frame of the leaf frame on g's stack. The return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:56 UTC 2024
    - 11K bytes
    - Viewed (0)
  4. src/runtime/race_amd64.s

    	MOVQ	SP, R12		// callee-saved, preserved across the CALL
    	MOVQ	m_g0(R13), R10
    	CMPQ	R10, R14
    	JE	call	// already on g0
    	MOVQ	(g_sched+gobuf_sp)(R10), SP
    call:
    	ANDQ	$~15, SP	// alignment for gcc ABI
    	CALL	AX
    	MOVQ	R12, SP
    	// Back to Go world, set special registers.
    	// The g register (R14) is preserved in C.
    	XORPS	X15, X15
    	RET
    
    // C->Go callback thunk that allows to call runtime·racesymbolize from C code.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  5. src/runtime/race_ppc64le.s

    	MOVD	16(R1), R10		// LR was saved away, restore for return
    	MOVD	R10, LR
    	RET
    
    // C->Go callback thunk that allows to call runtime·racesymbolize from C code.
    // Direct Go->C race call has only switched SP, finish g->g0 switch by setting correct g.
    // The overall effect of Go->C->Go call chain is similar to that of mcall.
    // RARG0 contains command code. RARG1 contains command-specific context.
    // See racecallback for command codes.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 17K bytes
    - Viewed (0)
  6. src/runtime/race_arm64.s

    	SUB	$16, RSP
    	BL	R9
    	MOVD	R19, RSP
    	JMP	(R20)
    
    // C->Go callback thunk that allows to call runtime·racesymbolize from C code.
    // Direct Go->C race call has only switched SP, finish g->g0 switch by setting correct g.
    // The overall effect of Go->C->Go call chain is similar to that of mcall.
    // R0 contains command code. R1 contains command-specific context.
    // See racecallback for command codes.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  7. src/runtime/HACKING.md

    (where to execute it), and a P (the rights and resources to execute
    it). When an M stops executing user Go code, for example by entering a
    system call, it returns its P to the idle P pool. In order to resume
    executing user Go code, for example on return from a system call, it
    must acquire a P from the idle pool.
    
    All `g`, `m`, and `p` objects are heap allocated, but are never freed,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  8. src/runtime/proc.go

    // so that we can set up g0.sched to return to the call of mstart1 above.
    //
    //go:noinline
    func mstart1() {
    	gp := getg()
    
    	if gp != gp.m.g0 {
    		throw("bad runtime·mstart")
    	}
    
    	// Set up m.g0.sched as a label returning to just
    	// after the mstart1 call in mstart0 above, for use by goexit0 and mcall.
    	// We're never coming back to mstart1 after we call schedule,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  9. src/runtime/asm_mips64x.s

    	JMP	(R4)
    
    // void mcall(fn func(*g))
    // Switch to m->g0's stack, call fn(g).
    // Fn must never return. It should gogo(&g->sched)
    // to keep running g.
    TEXT runtime·mcall(SB), NOSPLIT|NOFRAME, $0-8
    	// Save caller state in g->sched
    	MOVV	R29, (g_sched+gobuf_sp)(g)
    	MOVV	R31, (g_sched+gobuf_pc)(g)
    	MOVV	R0, (g_sched+gobuf_lr)(g)
    
    	// Switch to m->g0 & its stack, call fn.
    	MOVV	g, R1
    	MOVV	g_m(g), R3
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 19:45:59 UTC 2023
    - 24.3K bytes
    - Viewed (0)
  10. src/runtime/asm_riscv64.s

    	// save m0 to g0->m
    	MOV	T0, g_m(g)
    
    	CALL	runtime·check(SB)
    
    	// args are already prepared
    	CALL	runtime·args(SB)
    	CALL	runtime·osinit(SB)
    	CALL	runtime·schedinit(SB)
    
    	// create a new goroutine to start program
    	MOV	$runtime·mainPC(SB), T0		// entry
    	SUB	$16, X2
    	MOV	T0, 8(X2)
    	MOV	ZERO, 0(X2)
    	CALL	runtime·newproc(SB)
    	ADD	$16, X2
    
    	// start this M
    	CALL	runtime·mstart(SB)
    
    	WORD $0 // crash if reached
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 13:57:06 UTC 2023
    - 27K bytes
    - Viewed (0)
Back to top