- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for callbackWrap (0.09 sec)
-
src/runtime/sys_windows_amd64.s
// the "frame" to cgocallback and on to callbackWrap. SUBQ $(24+callbackArgs__size), SP MOVQ AX, (24+callbackArgs_index)(SP) // callback index MOVQ R8, (24+callbackArgs_args)(SP) // address of args vector MOVQ $0, (24+callbackArgs_result)(SP) // result LEAQ 24(SP), AX // Call cgocallback, which will call callbackWrap(frame). MOVQ $0, 16(SP) // context
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 19 07:24:08 UTC 2024 - 8.4K bytes - Viewed (0) -
src/runtime/sys_windows_386.s
MOVL $0, (12+callbackArgs_result)(SP) // result LEAL 12(SP), AX // AX = &callbackArgs{...} // Call cgocallback, which will call callbackWrap(frame). MOVL $0, 8(SP) // context MOVL AX, 4(SP) // frame (address of callbackArgs) LEAL ·callbackWrap(SB), AX MOVL AX, 0(SP) // PC of function to call CALL runtime·cgocallback(SB) // Get callback result. MOVL (12+callbackArgs_result)(SP), AX
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 21 15:56:43 UTC 2023 - 6.5K bytes - Viewed (0) -
src/runtime/sys_windows_arm64.s
MOVD R14, R0 MOVD R0, callbackArgs_args(R13) // address of args vector MOVD $0, R0 MOVD R0, callbackArgs_result(R13) // result // Call cgocallback, which will call callbackWrap(frame). MOVD $·callbackWrap<ABIInternal>(SB), R0 // PC of function to call, cgocallback takes an ABIInternal entry-point MOVD R13, R1 // frame (&callbackArgs{...}) MOVD $0, R2 // context STP (R0, R1), (1*8)(RSP)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 21 15:56:43 UTC 2023 - 6.8K bytes - Viewed (0) -
src/runtime/sys_windows_arm.s
// Prepare for entry to Go. BL runtime·load_g(SB) // Call cgocallback, which will call callbackWrap(frame). MOVW $0, R0 MOVW R0, 12(R13) // context MOVW $16(R13), R1 // R1 = &callbackArgs{...} MOVW R1, 8(R13) // frame (address of callbackArgs) MOVW $·callbackWrap(SB), R1 MOVW R1, 4(R13) // PC of function to call BL runtime·cgocallback(SB) // Get callback result.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 21 15:56:43 UTC 2023 - 7.7K bytes - Viewed (0) -
src/runtime/syscall_windows.go
// big stack arguments frame. args unsafe.Pointer // Below are out-args from callbackWrap result uintptr retPop uintptr // For 386 cdecl, how many bytes to pop on return } // callbackWrap is called by callbackasm to invoke a registered C callback. func callbackWrap(a *callbackArgs) { c := cbs.ctxt[a.index] a.retPop = c.retPop // Convert from C to Go ABI.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 20:12:46 UTC 2024 - 16.6K bytes - Viewed (0) -
src/runtime/stubs.go
// these pointers in regArgs.Ptrs such that they are visible to the GC. // // Package reflect passes a frame type. In package runtime, there is only // one call that copies results back, in callbackWrap in syscall_windows.go, and it // does NOT pass a frame type, meaning there are no write barriers invoked. See that // call site for justification. // // Package reflect accesses this symbol through a linkname. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 20.2K bytes - Viewed (0)