Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for switchToCrashStack0 (0.24 sec)

  1. src/runtime/asm_loong64.s

    	// Using a tail call here cleans up tracebacks since we won't stop
    	// at an intermediate systemstack.
    	MOVV	0(REGCTXT), R4	// code pointer
    	MOVV	0(R3), R1	// restore LR
    	ADDV	$8, R3
    	JMP	(R4)
    
    // func switchToCrashStack0(fn func())
    TEXT runtime·switchToCrashStack0(SB), NOSPLIT, $0-8
    	MOVV	fn+0(FP), REGCTXT	// context register
    	MOVV	g_m(g), R4	// curm
    
    	// set g to gcrash
    	MOVV	$runtime·gcrash(SB), g	// g = &gcrash
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:04:25 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  2. src/runtime/asm_ppc64x.s

    	// ppc64 because the caller is responsible for restoring the TOC.
    	MOVD	0(R11), R12	// code pointer
    	MOVD	R12, CTR
    	BL	(CTR)
    #ifndef GOOS_aix
    	MOVD	24(R1), R2
    #endif
    	RET
    
    // func switchToCrashStack0(fn func())
    TEXT runtime·switchToCrashStack0<ABIInternal>(SB), NOSPLIT, $0-8
    	MOVD	R3, R11				// context register
    	MOVD	g_m(g), R3			// curm
    
    	// set g to gcrash
    	MOVD	$runtime·gcrash(SB), g	// g = &gcrash
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 45.4K bytes
    - Viewed (0)
Back to top