Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for netbsdMstart (0.14 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_386.s

    	PUSHAL
    	CALL	runtime·emptyfunc(SB)
    	POPAL
    
    	// Call fn
    	CALL	SI
    
    	// fn should never return
    	MOVL	$0x1234, 0x1005
    	RET
    
    TEXT ·netbsdMstart(SB),NOSPLIT|TOPFRAME,$0
    	CALL	·netbsdMstart0(SB)
    	RET // not reached
    
    TEXT runtime·sigaltstack(SB),NOSPLIT,$-8
    	MOVL	$SYS___sigaltstack14, AX
    	MOVL	new+0(FP), BX
    	MOVL	old+4(FP), CX
    	INT	$0x80
    	CMPL	AX, $0xfffff001
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  4. src/runtime/sys_netbsd_arm64.s

    	CMP	$0, R1
    	BEQ	nog
    	CMP	$0, R2
    	BEQ	nog
    
    	MOVD	R0, g_m(R1)
    	MOVD	R1, g
    nog:
    	CALL	(R2)
    
    	MOVD	$0, R0  // crash (not reached)
    	MOVD	R0, (R8)
    
    TEXT ·netbsdMstart(SB),NOSPLIT|TOPFRAME,$0
    	CALL	·netbsdMstart0(SB)
    	RET // not reached
    
    TEXT runtime·osyield(SB),NOSPLIT,$0
    	SVC	$SYS_sched_yield
    	RET
    
    TEXT runtime·lwp_park(SB),NOSPLIT,$0
    	MOVW	clockid+0(FP), R0	// arg 1 - clockid
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  5. 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