Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for x_crosscall2_ptr (0.29 sec)

  1. src/runtime/cgo/callbacks.go

    // Used to dropm in pthread key destructor, while C thread is exiting.
    
    //go:cgo_import_static x_crosscall2_ptr
    //go:linkname x_crosscall2_ptr x_crosscall2_ptr
    //go:linkname _crosscall2_ptr _crosscall2_ptr
    var x_crosscall2_ptr byte
    var _crosscall2_ptr = &x_crosscall2_ptr
    
    // Set the x_crosscall2_ptr C function pointer variable point to crosscall2.
    // It's for the runtime package to call at init time.
    func set_crosscall2()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 17 21:53:11 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  2. src/runtime/cgo/asm_386.s

    #include "textflag.h"
    
    // Set the x_crosscall2_ptr C function pointer variable point to crosscall2.
    // It's such a pointer chain: _crosscall2_ptr -> x_crosscall2_ptr -> crosscall2
    // Use a local trampoline, to avoid taking the address of a dynamically exported
    // function.
    TEXT ·set_crosscall2(SB),NOSPLIT,$0-0
    	MOVL	_crosscall2_ptr(SB), AX
    	MOVL	$crosscall2_trampoline<>(SB), BX
    	MOVL	BX, (AX)
    	RET
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:43:51 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  3. src/runtime/cgo/asm_s390x.s

    #include "textflag.h"
    
    // Set the x_crosscall2_ptr C function pointer variable point to crosscall2.
    // It's such a pointer chain: _crosscall2_ptr -> x_crosscall2_ptr -> crosscall2
    // Use a local trampoline, to avoid taking the address of a dynamically exported
    // function.
    TEXT ·set_crosscall2(SB),NOSPLIT,$0-0
    	MOVD	_crosscall2_ptr(SB), R1
    	MOVD	$crosscall2_trampoline<>(SB), R2
    	MOVD	R2, (R1)
    	RET
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:43:51 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  4. src/runtime/cgo/asm_amd64.s

    #include "textflag.h"
    #include "abi_amd64.h"
    
    // Set the x_crosscall2_ptr C function pointer variable point to crosscall2.
    // It's such a pointer chain: _crosscall2_ptr -> x_crosscall2_ptr -> crosscall2
    // Use a local trampoline, to avoid taking the address of a dynamically exported
    // function.
    TEXT ·set_crosscall2(SB),NOSPLIT,$0-0
    	MOVQ	_crosscall2_ptr(SB), AX
    	MOVQ	$crosscall2_trampoline<>(SB), BX
    	MOVQ	BX, (AX)
    	RET
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:43:51 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  5. src/runtime/cgo/asm_loong64.s

    #include "textflag.h"
    #include "abi_loong64.h"
    
    // Set the x_crosscall2_ptr C function pointer variable point to crosscall2.
    // It's such a pointer chain: _crosscall2_ptr -> x_crosscall2_ptr -> crosscall2
    // Use a local trampoline, to avoid taking the address of a dynamically exported
    // function.
    TEXT ·set_crosscall2(SB),NOSPLIT,$0-0
    	MOVV	_crosscall2_ptr(SB), R5
    	MOVV	$crosscall2_trampoline<>(SB), R6
    	MOVV	R6, (R5)
    	RET
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:43:51 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  6. src/runtime/cgo/asm_arm64.s

    #include "textflag.h"
    #include "abi_arm64.h"
    
    // Set the x_crosscall2_ptr C function pointer variable point to crosscall2.
    // It's such a pointer chain: _crosscall2_ptr -> x_crosscall2_ptr -> crosscall2
    // Use a local trampoline, to avoid taking the address of a dynamically exported
    // function.
    TEXT ·set_crosscall2(SB),NOSPLIT,$0-0
    	MOVD	_crosscall2_ptr(SB), R1
    	MOVD	$crosscall2_trampoline<>(SB), R2
    	MOVD	R2, (R1)
    	RET
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:43:51 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  7. src/runtime/cgo/asm_mipsx.s

    //go:build mips || mipsle
    
    #include "textflag.h"
    
    // Set the x_crosscall2_ptr C function pointer variable point to crosscall2.
    // It's such a pointer chain: _crosscall2_ptr -> x_crosscall2_ptr -> crosscall2
    // Use a local trampoline, to avoid taking the address of a dynamically exported
    // function.
    TEXT ·set_crosscall2(SB),NOSPLIT,$0-0
    	MOVW	_crosscall2_ptr(SB), R5
    	MOVW	$crosscall2_trampoline<>(SB), R6
    	MOVW	R6, (R5)
    	RET
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:43:51 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  8. src/runtime/cgo/asm_ppc64x.s

    // function.
    #define CROSSCALL2_FPTR $crosscall2_trampoline<>(SB)
    #endif
    
    // Set the x_crosscall2_ptr C function pointer variable point to crosscall2.
    // It's such a pointer chain: _crosscall2_ptr -> x_crosscall2_ptr -> crosscall2
    TEXT ·set_crosscall2(SB),NOSPLIT,$0-0
    	MOVD	_crosscall2_ptr(SB), R5
    	MOVD	CROSSCALL2_FPTR, R6
    	MOVD	R6, (R5)
    	RET
    
    TEXT crosscall2_trampoline<>(SB),NOSPLIT,$0-0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:43:51 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  9. src/runtime/cgo/asm_arm.s

    #include "textflag.h"
    
    // Set the x_crosscall2_ptr C function pointer variable point to crosscall2.
    // It's such a pointer chain: _crosscall2_ptr -> x_crosscall2_ptr -> crosscall2
    // Use a local trampoline, to avoid taking the address of a dynamically exported
    // function.
    TEXT ·set_crosscall2(SB),NOSPLIT,$0-0
    	MOVW	_crosscall2_ptr(SB), R1
    	MOVW	$crosscall2_trampoline<>(SB), R2
    	MOVW	R2, (R1)
    	RET
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  10. src/runtime/cgo/asm_mips64x.s

    //go:build mips64 || mips64le
    
    #include "textflag.h"
    
    // Set the x_crosscall2_ptr C function pointer variable point to crosscall2.
    // It's such a pointer chain: _crosscall2_ptr -> x_crosscall2_ptr -> crosscall2
    // Use a local trampoline, to avoid taking the address of a dynamically exported
    // function.
    TEXT ·set_crosscall2(SB),NOSPLIT,$0-0
    	MOVV	_crosscall2_ptr(SB), R5
    	MOVV	$crosscall2_trampoline<>(SB), R6
    	MOVV	R6, (R5)
    	RET
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:43:51 UTC 2023
    - 2.5K bytes
    - Viewed (0)
Back to top