- Sort Score
- Result 10 results
- Languages All
Results 21 - 28 of 28 for libcCall (0.78 sec)
-
src/runtime/sys_aix_ppc64.s
TEXT asmsyscall6<>(SB),NOSPLIT,$256 // Save libcall for later MOVD R3, 112(R1) MOVD libcall_fn(R3), R12 MOVD libcall_args(R3), R9 MOVD 0(R9), R3 MOVD 8(R9), R4 MOVD 16(R9), R5 MOVD 24(R9), R6 MOVD 32(R9), R7 MOVD 40(R9), R8 BL callCfunction<>(SB) // Restore R0 and TOC XOR R0, R0 MOVD 40(R1), R2 // Store result in libcall MOVD 112(R1), R5 MOVD R3, (libcall_r1)(R5)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 21 19:29:00 UTC 2023 - 7.4K bytes - Viewed (0) -
src/runtime/sys_windows_arm64.s
_2args: MOVD (1*8)(R12), R1 _1args: MOVD (0*8)(R12), R0 _0args: MOVD libcall_fn(R19), R12 // branch to libcall->fn BL (R12) MOVD R20, RSP // free stack space MOVD R0, libcall_r1(R19) // save return value to libcall->r1 // TODO(rsc) floating point like amd64 in libcall->r2? // GetLastError MOVD TEB_error(R18_PLATFORM), R0 MOVD R0, libcall_err(R19) // Restore callee-saved registers.
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_solaris_amd64.s
LEAQ 72(SP), AX MOVQ DI, 0(SP) MOVQ AX, 8(SP) MOVQ $runtime·badsignal(SB), AX CALL AX JMP exit allgood: // Save m->libcall and m->scratch. We need to do this because we // might get interrupted by a signal in runtime·asmcgocall. // save m->libcall MOVQ g_m(R10), BP LEAQ m_libcall(BP), R11 MOVQ libcall_fn(R11), R10 MOVQ R10, 72(SP) MOVQ libcall_args(R11), R10 MOVQ R10, 80(SP)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 21 19:29:00 UTC 2023 - 6.4K bytes - Viewed (0) -
src/runtime/syscall_aix.go
// //go:nosplit //go:cgo_unsafe_args //go:linkname syscall_syscall6 func syscall_syscall6(fn, nargs, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2, err uintptr) { c := libcall{ fn: fn, n: nargs, args: uintptr(unsafe.Pointer(&a1)), } entersyscallblock() asmcgocall(unsafe.Pointer(&asmsyscall6), unsafe.Pointer(&c)) exitsyscall() return c.r1, 0, c.err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 6.3K bytes - Viewed (0) -
src/runtime/runtime2.go
freelink *m // on sched.freem trace mTraceState // these are here because they are too large to be on the stack // of low-level NOSPLIT functions. libcall libcall libcallpc uintptr // for cpu profiler libcallsp uintptr libcallg guintptr winsyscall winlibcall // stores syscall parameters on windows vdsoSP uintptr // SP for traceback while in VDSO call (0 if not in call)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:57:37 UTC 2024 - 47.9K bytes - Viewed (0) -
src/runtime/stack.go
} if !isShrinkStackSafe(gp) { throw("shrinkstack at bad time") } // Check for self-shrinks while in a libcall. These may have // pointers into the stack disguised as uintptrs, but these // code paths should all be nosplit. if gp == getg().m.curg && gp.m.libcallsp != 0 { throw("shrinking stack in libcall") } if debug.gcshrinkstackoff > 0 { return } f := findfunc(gp.startpc)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:31:00 UTC 2024 - 41.1K bytes - Viewed (0) -
src/runtime/traceback.go
// rewind it into the CALL instruction.) // If gp.m.libcall{g,pc,sp} information is available, it uses that information in preference to // the pc/sp/lr passed in. func tracebacktrap(pc, sp, lr uintptr, gp *g) { if gp.m.libcallsp != 0 { // We're in C code somewhere, traceback from the saved position. traceback1(gp.m.libcallpc, gp.m.libcallsp, 0, gp.m.libcallg.ptr(), 0) return } traceback1(pc, sp, lr, gp, unwindTrap)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 55.1K bytes - Viewed (0) -
src/runtime/proc.go
u.initAt(mp.curg.syscallpc, mp.curg.syscallsp, 0, mp.curg, unwindSilentErrors) } else if usesLibcall() && mp.libcallg != 0 && mp.libcallpc != 0 && mp.libcallsp != 0 { // Libcall, i.e. runtime syscall on windows. // Collect Go stack that leads to the call. u.initAt(mp.libcallpc, mp.libcallsp, 0, mp.libcallg.ptr(), unwindSilentErrors) } else if mp != nil && mp.vdsoSP != 0 { // VDSO call, e.g. nanotime1 on Linux.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 207.5K bytes - Viewed (0)