Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 33 for m_gsignal (0.22 sec)

  1. src/runtime/asm_arm.s

    TEXT runtime·systemstack(SB),NOSPLIT,$0-4
    	MOVW	fn+0(FP), R0	// R0 = fn
    	MOVW	g_m(g), R1	// R1 = m
    
    	MOVW	m_gsignal(R1), R2	// R2 = gsignal
    	CMP	g, R2
    	B.EQ	noswitch
    
    	MOVW	m_g0(R1), R2	// R2 = g0
    	CMP	g, R2
    	B.EQ	noswitch
    
    	MOVW	m_curg(R1), R3
    	CMP	g, R3
    	B.EQ	switch
    
    	// Bad: g is not gsignal, not g0, not curg. What is it?
    	// Hide call from linker nosplit analysis.
    	MOVW	$runtime·badsystemstack(SB), R0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 23 21:00:52 UTC 2024
    - 32.1K bytes
    - Viewed (0)
  2. src/runtime/asm_wasm.s

    	// Cannot grow scheduler stack (m->g0).
    	Get g
    	Get R2
    	I64Eq
    	If
    		CALLNORESUME runtime·badmorestackg0(SB)
    		CALLNORESUME runtime·abort(SB)
    	End
    
    	// Cannot grow signal stack (m->gsignal).
    	Get g
    	I64Load m_gsignal(R1)
    	I64Eq
    	If
    		CALLNORESUME runtime·badmorestackgsignal(SB)
    		CALLNORESUME runtime·abort(SB)
    	End
    
    	// Called from f.
    	// Set m->morebuf to f's caller.
    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/asm_386.s

    	// We get called to create new OS threads too, and those
    	// come in on the m->g0 stack already. Or we might already
    	// be on the m->gsignal stack.
    	get_tls(CX)
    	MOVL	g(CX), DI
    	CMPL	DI, $0
    	JEQ	nosave	// Don't even have a G yet.
    	MOVL	g_m(DI), BP
    	CMPL	DI, m_gsignal(BP)
    	JEQ	noswitch
    	MOVL	m_g0(BP), SI
    	CMPL	DI, SI
    	JEQ	noswitch
    	CALL	gosave_systemstack_switch<>(SB)
    	get_tls(CX)
    	MOVL	SI, g(CX)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 15:45:13 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  4. src/runtime/asm_ppc64x.s

    	MOVD	fn+0(FP), R3	// R3 = fn
    	MOVD	R3, R11		// context
    	MOVD	g_m(g), R4	// R4 = m
    
    	MOVD	m_gsignal(R4), R5	// R5 = gsignal
    	CMP	g, R5
    	BEQ	noswitch
    
    	MOVD	m_g0(R4), R5	// R5 = g0
    	CMP	g, R5
    	BEQ	noswitch
    
    	MOVD	m_curg(R4), R6
    	CMP	g, R6
    	BEQ	switch
    
    	// Bad: g is not gsignal, not g0, not curg. What is it?
    	// Hide call from linker nosplit analysis.
    	MOVD	$runtime·badsystemstack(SB), R12
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 45.4K bytes
    - Viewed (0)
  5. src/runtime/asm_arm64.s

    	MOVD	fn+0(FP), R3	// R3 = fn
    	MOVD	R3, R26		// context
    	MOVD	g_m(g), R4	// R4 = m
    
    	MOVD	m_gsignal(R4), R5	// R5 = gsignal
    	CMP	g, R5
    	BEQ	noswitch
    
    	MOVD	m_g0(R4), R5	// R5 = g0
    	CMP	g, R5
    	BEQ	noswitch
    
    	MOVD	m_curg(R4), R6
    	CMP	g, R6
    	BEQ	switch
    
    	// Bad: g is not gsignal, not g0, not curg. What is it?
    	// Hide call from linker nosplit analysis.
    	MOVD	$runtime·badsystemstack(SB), R3
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 43.4K bytes
    - Viewed (0)
  6. src/runtime/sys_linux_arm.s

    	// bother saving g.
    	MOVW	m_gsignal(R6), R7          // g.m.gsignal
    	CMP	$0, R7
    	BEQ	nosaveg
    	// Don't save g if we are already on the signal stack, as we won't get
    	// a nested signal.
    	CMP	g, R7
    	BEQ	nosaveg
    	// If we don't have a signal stack, we won't receive signal, so don't
    	// bother saving g.
    	MOVW	(g_stack+stack_lo)(R7), R7 // g.m.gsignal.stack.lo
    	CMP	$0, R7
    	BEQ	nosaveg
    	MOVW	g, (R7)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 24 18:53:44 UTC 2023
    - 13.5K bytes
    - Viewed (0)
  7. src/runtime/sys_darwin_arm64.s

    	// iOS always use the main stack to run the signal handler.
    	// We need to switch to gsignal ourselves.
    	MOVD	g_m(g), R11
    	MOVD	m_gsignal(R11), R5
    	MOVD	(g_stack+stack_hi)(R5), R6
    
    nog:
    	// Restore arguments.
    	MOVW	(8*1)(RSP), R0
    	MOVD	(8*2)(RSP), R1
    	MOVD	(8*3)(RSP), R2
    
    	// Reserve space for args and the stack pointer on the
    	// gsignal stack.
    	SUB	$48, R6
    	// Save stack pointer.
    	MOVD	RSP, R4
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 03 16:07:59 UTC 2023
    - 18.3K bytes
    - Viewed (0)
  8. src/runtime/signal_unix.go

    	gp := getg()
    	if old != nil {
    		old.stack = gp.m.gsignal.stack
    		old.stackguard0 = gp.m.gsignal.stackguard0
    		old.stackguard1 = gp.m.gsignal.stackguard1
    		old.stktopsp = gp.m.gsignal.stktopsp
    	}
    	stsp := uintptr(unsafe.Pointer(st.ss_sp))
    	gp.m.gsignal.stack.lo = stsp
    	gp.m.gsignal.stack.hi = stsp + st.ss_size
    	gp.m.gsignal.stackguard0 = stsp + stackGuard
    	gp.m.gsignal.stackguard1 = stsp + stackGuard
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 16:04:54 UTC 2024
    - 45K bytes
    - Viewed (0)
  9. src/runtime/os_darwin.go

    func mpreinit(mp *m) {
    	mp.gsignal = malg(32 * 1024) // OS X wants >= 8K
    	mp.gsignal.m = mp
    	if GOOS == "darwin" && GOARCH == "arm64" {
    		// mlock the signal stack to work around a kernel bug where it may
    		// SIGILL when the signal stack is not faulted in while a signal
    		// arrives. See issue 42774.
    		mlock(unsafe.Pointer(mp.gsignal.stack.hi-physPageSize), physPageSize)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  10. src/syscall/mkerrors.sh

    	grep -v 'SIGSTKSIZE\|SIGSTKSZ\|SIGRT' |
    	sort >_signal.grep
    
    echo '// mkerrors.sh' "$@"
    echo '// Code generated by the command above; DO NOT EDIT.'
    echo
    go tool cgo -godefs -- "$@" _const.go >_error.out
    cat _error.out | grep -vf _error.grep | grep -vf _signal.grep
    echo
    echo '// Errors'
    echo 'const ('
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 06 21:22:22 UTC 2022
    - 10.7K bytes
    - Viewed (0)
Back to top