- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 4,241 for mcall (0.08 sec)
-
src/runtime/tls_loong64.s
// license that can be found in the LICENSE file. #include "go_asm.h" #include "go_tls.h" #include "funcdata.h" #include "textflag.h" // If !iscgo, this is a no-op. // // NOTE: mcall() assumes this clobbers only R30 (REGTMP). TEXT runtime·save_g(SB),NOSPLIT|NOFRAME,$0-0 MOVB runtime·iscgo(SB), R30 BEQ R30, nocgo MOVV g, runtime·tls_g(SB) nocgo: RET
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 17 20:18:25 UTC 2022 - 589 bytes - Viewed (0) -
src/runtime/tls_riscv64.s
// license that can be found in the LICENSE file. #include "go_asm.h" #include "go_tls.h" #include "funcdata.h" #include "textflag.h" // If !iscgo, this is a no-op. // // NOTE: mcall() assumes this clobbers only X31 (REG_TMP). TEXT runtime·save_g(SB),NOSPLIT|NOFRAME,$0-0 #ifndef GOOS_openbsd MOVB runtime·iscgo(SB), X31 BEQZ X31, nocgo #endif MOV g, runtime·tls_g(SB) nocgo: RET
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 04 02:55:17 UTC 2023 - 615 bytes - Viewed (0) -
src/cmd/internal/objabi/funcid.go
"goexit": abi.FuncID_goexit, "gogo": abi.FuncID_gogo, "gopanic": abi.FuncID_gopanic, "handleAsyncEvent": abi.FuncID_handleAsyncEvent, "main": abi.FuncID_runtime_main, "mcall": abi.FuncID_mcall, "morestack": abi.FuncID_morestack, "mstart": abi.FuncID_mstart, "panicwrap": abi.FuncID_panicwrap, "runfinq": abi.FuncID_runfinq,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 06 21:33:59 UTC 2023 - 1.6K bytes - Viewed (0) -
src/runtime/tls_mips64x.s
// license that can be found in the LICENSE file. //go:build mips64 || mips64le #include "go_asm.h" #include "go_tls.h" #include "funcdata.h" #include "textflag.h" // If !iscgo, this is a no-op. // // NOTE: mcall() assumes this clobbers only R23 (REGTMP). TEXT runtime·save_g(SB),NOSPLIT|NOFRAME,$0-0 MOVB runtime·iscgo(SB), R23 BEQ R23, nocgo MOVV R3, R23 // save R3 MOVV g, runtime·tls_g(SB) // TLS relocation clobbers R3
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Nov 06 10:24:44 UTC 2021 - 733 bytes - Viewed (0) -
src/runtime/debugcall.go
const ( debugCallSystemStack = "executing on Go runtime stack" debugCallUnknownFunc = "call from unknown function" debugCallRuntime = "call from within the Go runtime" debugCallUnsafePoint = "call not at safe point" ) func debugCallV2() func debugCallPanicked(val any) // debugCallCheck checks whether it is safe to inject a debugger // function call with return PC pc. If not, it returns a string // explaining why. // //go:nosplit
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 05 20:50:21 UTC 2024 - 7.1K bytes - Viewed (0) -
src/runtime/stubs.go
func getg() *g // mcall switches from the g to the g0 stack and invokes fn(g), // where g is the goroutine that made the call. // mcall saves g's current PC/SP in g->sched so that it can be restored later. // It is up to fn to arrange for that later execution, typically by recording // g in a data structure, causing something to call ready(g) later.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 20.2K bytes - Viewed (0) -
src/runtime/coro.go
func coroexit(c *coro) { gp := getg() gp.coroarg = c gp.coroexit = true mcall(coroswitch_m) } //go:linkname coroswitch // coroswitch switches to the goroutine blocked on c // and then blocks the current goroutine on c. func coroswitch(c *coro) { gp := getg() gp.coroarg = c mcall(coroswitch_m) } // coroswitch_m is the implementation of coroswitch // that runs on the m stack. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:09:18 UTC 2024 - 7.4K bytes - Viewed (0) -
src/runtime/tls_arm.s
// thread-local memory, so that we can call externally compiled // ARM code that will overwrite those registers. // NOTE: runtime.gogo assumes that R1 is preserved by this function. // runtime.mcall assumes this function only clobbers R0 and R11. // Returns with g in R0. TEXT runtime·save_g(SB),NOSPLIT,$0 // If the host does not support MRC the linker will replace it with
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 10 20:38:07 UTC 2022 - 3.5K bytes - Viewed (0) -
src/internal/trace/testdata/testprog/cpu-profile.go
) // The actual CPU hogging function. // Must not call other functions nor access heap/globals in the loop, // otherwise under race detector the samples will be in the race runtime. func cpuHog1(x int) int { return cpuHog0(x, 1e5) } func cpuHog0(x, n int) int { foo := x for i := 0; i < n; i++ { if i%1000 == 0 { // Spend time in mcall, stored as gp.m.curg, with g0 running runtime.Gosched() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 3.8K bytes - Viewed (0) -
src/runtime/preempt.go
//go:nosplit func asyncPreempt2() { gp := getg() gp.asyncSafePoint = true if gp.preemptStop { mcall(preemptPark) } else { mcall(gopreempt_m) } gp.asyncSafePoint = false } // asyncPreemptStack is the bytes of stack space required to inject an // asyncPreempt call. var asyncPreemptStack = ^uintptr(0) func init() { f := findfunc(abi.FuncPCABI0(asyncPreempt))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 15:41:45 UTC 2024 - 15.1K bytes - Viewed (0)