- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for crosscall_s390x (0.12 sec)
-
src/runtime/cgo/gcc_s390x.S
// license that can be found in the LICENSE file. .file "gcc_s390x.S" /* * void crosscall_s390x(void (*fn)(void), void *g) * * Calling into the go tool chain, where all registers are caller save. * Called from standard s390x C ABI, where r6-r13, r15, and f8-f15 are * callee-save, so they must be saved explicitly. */ .globl crosscall_s390x crosscall_s390x: /* save r6-r15 in the register save area of the calling function */
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 05 16:41:48 UTC 2022 - 1.4K bytes - Viewed (0) -
src/runtime/cgo/gcc_linux_s390x.c
if (err != 0) { fatalf("pthread_create failed: %s", strerror(err)); } } extern void crosscall_s390x(void (*fn)(void), void *g); static void* threadentry(void *v) { ThreadStart ts; ts = *(ThreadStart*)v; free(v); // Save g for this thread in C TLS setg_gcc((void*)ts.g); crosscall_s390x(ts.fn, (void*)ts.g); return nil;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 09 03:13:11 UTC 2023 - 1.3K bytes - Viewed (0)