Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for g_stackguard0 (0.2 sec)

  1. src/runtime/asm_mips64x.s

    	// create istack out of the given (operating system) stack.
    	// _cgo_init may update stackguard.
    	MOVV	$runtime·g0(SB), g
    	MOVV	$(-64*1024), R23
    	ADDV	R23, R29, R1
    	MOVV	R1, g_stackguard0(g)
    	MOVV	R1, g_stackguard1(g)
    	MOVV	R1, (g_stack+stack_lo)(g)
    	MOVV	R29, (g_stack+stack_hi)(g)
    
    	// if there is a _cgo_init, call it using the gcc ABI.
    	MOVV	_cgo_init(SB), R25
    	BEQ	R25, nocgo
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 19:45:59 UTC 2023
    - 24.3K bytes
    - Viewed (0)
  2. src/runtime/asm_loong64.s

    	// create istack out of the given (operating system) stack.
    	// _cgo_init may update stackguard.
    	MOVV	$runtime·g0(SB), g
    	MOVV	$(-64*1024), R30
    	ADDV	R30, R3, R19
    	MOVV	R19, g_stackguard0(g)
    	MOVV	R19, g_stackguard1(g)
    	MOVV	R19, (g_stack+stack_lo)(g)
    	MOVV	R3, (g_stack+stack_hi)(g)
    
    	// if there is a _cgo_init, call it using the gcc ABI.
    	MOVV	_cgo_init(SB), R25
    	BEQ	R25, nocgo
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:04:25 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  3. src/runtime/asm_mipsx.s

    	MOVW	R5, 8(R29)	// argv
    
    	// create istack out of the given (operating system) stack.
    	// _cgo_init may update stackguard.
    	MOVW	$runtime·g0(SB), g
    	MOVW	$(-64*1024), R23
    	ADD	R23, R29, R1
    	MOVW	R1, g_stackguard0(g)
    	MOVW	R1, g_stackguard1(g)
    	MOVW	R1, (g_stack+stack_lo)(g)
    	MOVW	R29, (g_stack+stack_hi)(g)
    
    	// if there is a _cgo_init, call it using the gcc ABI.
    	MOVW	_cgo_init(SB), R25
    	BEQ	R25, nocgo
    	ADDU	$-16, R29
    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_riscv64.s

    	MOV	A1, 16(X2)	// argv
    
    	// create istack out of the given (operating system) stack.
    	// _cgo_init may update stackguard.
    	MOV	$runtime·g0(SB), g
    	MOV	$(-64*1024), T0
    	ADD	T0, X2, T1
    	MOV	T1, g_stackguard0(g)
    	MOV	T1, g_stackguard1(g)
    	MOV	T1, (g_stack+stack_lo)(g)
    	MOV	X2, (g_stack+stack_hi)(g)
    
    	// if there is a _cgo_init, call it using the gcc ABI.
    	MOV	_cgo_init(SB), T0
    	BEQ	T0, ZERO, nocgo
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 13:57:06 UTC 2023
    - 27K bytes
    - Viewed (0)
  5. src/runtime/asm_s390x.s

    	// create istack out of the given (operating system) stack.
    	// _cgo_init may update stackguard.
    	MOVD	$runtime·g0(SB), g
    	MOVD	R15, R11
    	SUB	$(64*1024), R11
    	MOVD	R11, g_stackguard0(g)
    	MOVD	R11, g_stackguard1(g)
    	MOVD	R11, (g_stack+stack_lo)(g)
    	MOVD	R15, (g_stack+stack_hi)(g)
    
    	// if there is a _cgo_init, call it using the gcc ABI.
    	MOVD	_cgo_init(SB), R11
    	CMPBEQ	R11, $0, nocgo
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 25 09:18:28 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  6. src/runtime/asm_arm.s

    	MOVW	g, m_g0(R8)
    	// save g->m = m0
    	MOVW	R8, g_m(g)
    
    	// create istack out of the OS stack
    	// (1MB of system stack is available on iOS and Android)
    	MOVW	$(-64*1024+104)(R13), R0
    	MOVW	R0, g_stackguard0(g)
    	MOVW	R0, g_stackguard1(g)
    	MOVW	R0, (g_stack+stack_lo)(g)
    	MOVW	R13, (g_stack+stack_hi)(g)
    
    	BL	runtime·emptyfunc(SB)	// fault if stack check is wrong
    
    #ifdef GOOS_openbsd
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 23 21:00:52 UTC 2024
    - 32.1K bytes
    - Viewed (0)
  7. src/runtime/asm_arm64.s

    	ADD	$32, RSP
    #endif
    
    	// create istack out of the given (operating system) stack.
    	// _cgo_init may update stackguard.
    	MOVD	$runtime·g0(SB), g
    	MOVD	RSP, R7
    	MOVD	$(-64*1024)(R7), R0
    	MOVD	R0, g_stackguard0(g)
    	MOVD	R0, g_stackguard1(g)
    	MOVD	R0, (g_stack+stack_lo)(g)
    	MOVD	R7, (g_stack+stack_hi)(g)
    
    	// if there is a _cgo_init, call it using the gcc ABI.
    	MOVD	_cgo_init(SB), R12
    	CBZ	R12, nocgo
    
    #ifdef GOOS_android
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 43.4K bytes
    - Viewed (0)
  8. src/runtime/asm_ppc64x.s

    	// create istack out of the given (operating system) stack.
    	// _cgo_init may update stackguard.
    	MOVD	$runtime·g0(SB), g
    	BL	runtime·save_g(SB)
    	MOVD	$(-64*1024), R31
    	ADD	R31, R1, R3
    	MOVD	R3, g_stackguard0(g)
    	MOVD	R3, g_stackguard1(g)
    	MOVD	R3, (g_stack+stack_lo)(g)
    	MOVD	R1, (g_stack+stack_hi)(g)
    
    	// If there is a _cgo_init, call it using the gcc ABI.
    	MOVD	_cgo_init(SB), R12
    	CMP	R12, $0
    	BEQ	nocgo
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 45.4K bytes
    - Viewed (0)
  9. src/runtime/asm_386.s

    	MOVL	BX, 124(SP)
    
    	// set default stack bounds.
    	// _cgo_init may update stackguard.
    	MOVL	$runtime·g0(SB), BP
    	LEAL	(-64*1024+104)(SP), BX
    	MOVL	BX, g_stackguard0(BP)
    	MOVL	BX, g_stackguard1(BP)
    	MOVL	BX, (g_stack+stack_lo)(BP)
    	MOVL	SP, (g_stack+stack_hi)(BP)
    
    	// find out information about the processor we're on
    	// first see if CPUID instruction is supported.
    	PUSHFL
    	PUSHFL
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 15:45:13 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  10. src/runtime/stack.go

    	thisg.m.morebuf.pc = 0
    	thisg.m.morebuf.lr = 0
    	thisg.m.morebuf.sp = 0
    	thisg.m.morebuf.g = 0
    
    	// NOTE: stackguard0 may change underfoot, if another thread
    	// is about to try to preempt gp. Read it just once and use that same
    	// value now and below.
    	stackguard0 := atomic.Loaduintptr(&gp.stackguard0)
    
    	// Be conservative about where we preempt.
    	// We are interested in preempting user Go code, not runtime code.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 41.1K bytes
    - Viewed (0)
Back to top