Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for netbsdMstart (0.22 sec)

  1. src/runtime/os_netbsd.go

    		}
    		throw("runtime.newosproc")
    	}
    }
    
    // mstart is the entry-point for new Ms.
    // It is written in assembly, uses ABI0, is marked TOPFRAME, and calls netbsdMstart0.
    func netbsdMstart()
    
    // netbsdMstart0 is the function call that starts executing a newly
    // created thread. On NetBSD, a new thread inherits the signal stack
    // of the creating thread. That confuses minit, so we remove that
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  2. src/runtime/sys_netbsd_amd64.s

    	// Call fn. This is an ABI0 PC.
    	CALL	R12
    
    	// It shouldn't return. If it does, exit.
    	MOVL	$SYS__lwp_exit, AX
    	SYSCALL
    	JMP	-3(PC)			// keep exiting
    
    TEXT ·netbsdMstart(SB),NOSPLIT|TOPFRAME,$0
    	CALL	·netbsdMstart0(SB)
    	RET // not reached
    
    TEXT runtime·osyield(SB),NOSPLIT,$0
    	MOVL	$SYS_sched_yield, AX
    	SYSCALL
    	RET
    
    TEXT runtime·lwp_park(SB),NOSPLIT,$0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  3. src/runtime/sys_netbsd_arm.s

    	MOVW R0, g_m(R1)
    	MOVW R1, g
    
    	BL runtime·emptyfunc(SB) // fault if stack check is wrong
    	BL (R2)
    	MOVW $2, R8  // crash (not reached)
    	MOVW R8, (R8)
    	RET
    
    TEXT ·netbsdMstart(SB),NOSPLIT|TOPFRAME,$0
    	BL ·netbsdMstart0(SB)
    	RET // not reached
    
    TEXT runtime·usleep(SB),NOSPLIT,$16
    	MOVW usec+0(FP), R0
    	CALL runtime·usplitR0(SB)
    	// 0(R13) is the saved LR, don't use it
    	MOVW R0, 4(R13) // tv_sec.low
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 10.6K bytes
    - Viewed (0)
Back to top