Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 37 of 37 for mstartm0 (0.14 sec)

  1. src/runtime/sys_openbsd_arm.s

    #define NOOP	MOVW    R0, R0
    #define	INVOKE_SYSCALL	\
    	SWI	$0;	\
    	NOOP;		\
    	NOOP
    
    // mstart_stub is the first function executed on a new thread started by pthread_create.
    // It just does some low-level setup and then calls mstart.
    // Note: called with the C calling convention.
    TEXT runtime·mstart_stub(SB),NOSPLIT,$0
    	// R0 points to the m.
    	// We are already on m's g0 stack.
    
    	// Save callee-save registers.
    	MOVM.DB.W [R4-R11], (R13)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 18.5K bytes
    - Viewed (0)
  2. src/runtime/sys_openbsd_386.s

    	// Nothing to do, pthread already set thread-local storage up.
    	RET
    
    // mstart_stub is the first function executed on a new thread started by pthread_create.
    // It just does some low-level setup and then calls mstart.
    // Note: called with the C calling convention.
    TEXT runtime·mstart_stub(SB),NOSPLIT,$28
    	NOP	SP	// tell vet SP changed - stop checking offsets
    
    	// We are already on m's g0 stack.
    
    	// Save callee-save registers.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  3. src/runtime/os_linux.go

    	var oset sigset
    	sigprocmask(_SIG_SETMASK, &sigset_all, &oset)
    	ret := retryOnEAGAIN(func() int32 {
    		r := clone(cloneFlags, stk, unsafe.Pointer(mp), unsafe.Pointer(mp.g0), unsafe.Pointer(abi.FuncPCABI0(mstart)))
    		// clone returns positive TID, negative errno.
    		// We don't care about the TID.
    		if r >= 0 {
    			return 0
    		}
    		return -r
    	})
    	sigprocmask(_SIG_SETMASK, &oset, nil)
    
    	if ret != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  4. src/runtime/runtime2.go

    	goSigStack    gsignalStack      // Go-allocated signal handling stack
    	sigmask       sigset            // storage for saved signal mask
    	tls           [tlsSlots]uintptr // thread-local storage (for x86 extern register)
    	mstartfn      func()
    	curg          *g       // current running goroutine
    	caughtsig     guintptr // goroutine running during fatal signal
    	p             puintptr // attached p for executing go code (nil if not executing go code)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  5. src/runtime/metrics_test.go

    			for i, stk := range acceptStacks {
    				if goexperiment.StaticLockRanking {
    					if !slices.ContainsFunc(stk, func(s string) bool {
    						return s == "runtime.systemstack" || s == "runtime.mcall" || s == "runtime.mstart"
    					}) {
    						// stk is a call stack that is still on the user stack when
    						// it calls runtime.unlock. Add the extra function that
    						// we'll see, when the static lock ranking implementation of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 45K bytes
    - Viewed (0)
  6. src/runtime/traceback.go

    // trapped instruction, so this returns frame.pc. See issue #34123. Finally,
    // frame.pc can be at function entry when the frame is initialized without
    // actually running code, like in runtime.mstart, in which case this returns
    // frame.pc because that's the best we can do.
    func (u *unwinder) symPC() uintptr {
    	if u.flags&unwindTrap == 0 && u.frame.pc > u.frame.fn.entry() {
    		// Regular call.
    		return u.frame.pc - 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  7. src/runtime/asm_amd64.s

    	// create a new goroutine to start program
    	MOVQ	$runtime·mainPC(SB), AX		// entry
    	PUSHQ	AX
    	CALL	runtime·newproc(SB)
    	POPQ	AX
    
    	// start this M
    	CALL	runtime·mstart(SB)
    
    	CALL	runtime·abort(SB)	// mstart should never return
    	RET
    
    bad_cpu: // show that the program requires a certain microarchitecture level.
    	MOVQ	$2, 0(SP)
    	MOVQ	$bad_cpu_msg<>(SB), AX
    	MOVQ	AX, 8(SP)
    	MOVQ	$84, 16(SP)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 60.4K bytes
    - Viewed (0)
Back to top