- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 38 for setg_gcc (0.44 sec)
-
src/runtime/cgo/gcc_freebsd.c
// cpp. #if ARM_TP_ADDRESS != 0xffff1000 #error Wrong ARM_TP_ADDRESS! #endif #endif static void* threadentry(void*); static void (*setg_gcc)(void*); void x_cgo_init(G *g, void (*setg)(void*)) { setg_gcc = setg; _cgo_set_stacklo(g, NULL); } void _cgo_sys_thread_start(ThreadStart *ts) { pthread_attr_t attr; sigset_t ign, oset; pthread_t p; size_t size;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 15 03:40:00 UTC 2023 - 1.5K bytes - Viewed (0) -
src/runtime/cgo/gcc_riscv64.S
fsd f20, 136(sp) fsd f21, 144(sp) fsd f22, 152(sp) fsd f23, 160(sp) fsd f24, 168(sp) fsd f25, 176(sp) fsd f26, 184(sp) fsd f27, 192(sp) // a0 = *fn, a1 = *setg_gcc, a2 = *g mv s1, a0 mv s0, a1 mv a0, a2 jalr ra, s0 // call setg_gcc (clobbers x30 aka g) jalr ra, s1 // call fn ld x1, 0(sp) ld x8, 8(sp) ld x9, 16(sp) ld x18, 24(sp) ld x19, 32(sp) ld x20, 40(sp) ld x21, 48(sp)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 05 16:41:48 UTC 2022 - 1.6K bytes - Viewed (0) -
src/runtime/cgo/gcc_windows_arm64.c
#include "libcgo.h" #include "libcgo_windows.h" static void threadentry(void*); static void (*setg_gcc)(void*); void x_cgo_init(G *g, void (*setg)(void*)) { setg_gcc = setg; } void _cgo_sys_thread_start(ThreadStart *ts) { _cgo_beginthread(threadentry, ts); } extern void crosscall1(void (*fn)(void), void (*setg_gcc)(void*), void *g); static void threadentry(void *v) { ThreadStart ts;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 09 18:17:39 UTC 2022 - 764 bytes - Viewed (0) -
src/runtime/cgo/gcc_windows_amd64.c
static void threadentry(void*); static void (*setg_gcc)(void*); static DWORD *tls_g; void x_cgo_init(G *g, void (*setg)(void*), void **tlsg, void **tlsbase) { setg_gcc = setg; tls_g = (DWORD *)tlsg; } void _cgo_sys_thread_start(ThreadStart *ts) { _cgo_beginthread(threadentry, ts); } extern void crosscall1(void (*fn)(void), void (*setg_gcc)(void*), void *g); static void threadentry(void *v)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Aug 12 03:56:28 UTC 2023 - 1K bytes - Viewed (0) -
src/runtime/cgo/gcc_mipsx.S
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build mips || mipsle .file "gcc_mipsx.S" /* * void crosscall1(void (*fn)(void), void (*setg_gcc)(void *g), void *g) * * Calling into the gc tool chain, where all registers are caller save. * Called from standard MIPS O32 ABI, where $16-$23, $30, and $f20-$f31
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 24 22:38:02 UTC 2023 - 1.5K bytes - Viewed (0) -
src/runtime/cgo/gcc_amd64.S
EXT(crosscall1): pushq %rbx pushq %rbp pushq %r12 pushq %r13 pushq %r14 pushq %r15 #if defined(_WIN64) movq %r8, %rdi /* arg of setg_gcc */ call *%rdx /* setg_gcc */ call *%rcx /* fn */ #else movq %rdi, %rbx movq %rdx, %rdi /* arg of setg_gcc */ call *%rsi /* setg_gcc */ call *%rbx /* fn */ #endif popq %r15 popq %r14 popq %r13 popq %r12 popq %rbp popq %rbx ret
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Aug 12 03:56:28 UTC 2023 - 1.1K bytes - Viewed (0) -
src/runtime/cgo/gcc_linux_amd64.c
fatalf("pthread_create failed: %s", strerror(err)); } } extern void crosscall1(void (*fn)(void), void (*setg_gcc)(void*), void *g); static void* threadentry(void *v) { ThreadStart ts; ts = *(ThreadStart*)v; _cgo_tsan_acquire(); free(v); _cgo_tsan_release(); crosscall1(ts.fn, setg_gcc, (void*)ts.g); return nil;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 22:06:46 UTC 2023 - 2.3K bytes - Viewed (0) -
src/runtime/cgo/gcc_freebsd_amd64.c
#include <string.h> #include "libcgo.h" #include "libcgo_unix.h" static void* threadentry(void*); static void (*setg_gcc)(void*); void x_cgo_init(G *g, void (*setg)(void*)) { uintptr *pbounds; // Deal with memory sanitizer/clang interaction. // See gcc_linux_amd64.c for details. setg_gcc = setg; pbounds = (uintptr*)malloc(2 * sizeof(uintptr)); if (pbounds == NULL) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 22:06:46 UTC 2023 - 1.5K bytes - Viewed (0) -
src/runtime/cgo/gcc_dragonfly_amd64.c
#include <sys/signalvar.h> #include <pthread.h> #include <signal.h> #include <string.h> #include "libcgo.h" #include "libcgo_unix.h" static void* threadentry(void*); static void (*setg_gcc)(void*); void x_cgo_init(G *g, void (*setg)(void*)) { setg_gcc = setg; _cgo_set_stacklo(g, NULL); } void _cgo_sys_thread_start(ThreadStart *ts) { pthread_attr_t attr; sigset_t ign, oset; pthread_t p; size_t size;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 15 03:39:26 UTC 2023 - 1.2K bytes - Viewed (0) -
src/runtime/cgo/gcc_openbsd.c
#include <sys/types.h> #include <pthread.h> #include <signal.h> #include <string.h> #include "libcgo.h" #include "libcgo_unix.h" static void* threadentry(void*); static void (*setg_gcc)(void*); void x_cgo_init(G *g, void (*setg)(void*)) { setg_gcc = setg; _cgo_set_stacklo(g, NULL); } void _cgo_sys_thread_start(ThreadStart *ts) { pthread_attr_t attr; sigset_t ign, oset; pthread_t p; size_t size;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 15 03:56:03 UTC 2023 - 1.2K bytes - Viewed (0)