Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for mstartm0 (0.4 sec)

  1. 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)
  2. 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