- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 38 for RegArgs (0.16 sec)
-
src/runtime/stubs.go
func call32(typ, fn, stackArgs unsafe.Pointer, stackArgsSize, stackRetOffset, frameSize uint32, regArgs *abi.RegArgs) func call64(typ, fn, stackArgs unsafe.Pointer, stackArgsSize, stackRetOffset, frameSize uint32, regArgs *abi.RegArgs) func call128(typ, fn, stackArgs unsafe.Pointer, stackArgsSize, stackRetOffset, frameSize uint32, regArgs *abi.RegArgs)
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/export_debug_arm64_test.go
// storeRegArgs sets up argument registers in the signal // context state from an abi.RegArgs. // // Both src and dst must be non-nil. func storeRegArgs(dst *sigcontext, src *abi.RegArgs) { for i, r := range src.Ints { dst.regs[i] = uint64(r) } for i, r := range src.Floats { *(fpRegAddr(dst, i)) = r } } func loadRegArgs(dst *abi.RegArgs, src *sigcontext) { for i := range dst.Ints {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Apr 23 05:38:56 UTC 2022 - 3.5K bytes - Viewed (0) -
src/runtime/export_debug_ppc64le_test.go
h.sigCtxt.savedRegs = *ctxt.cregs() } // case 0 func (h *debugCallHandler) debugCallRun(ctxt *sigctxt) { sp := ctxt.sp() memmove(unsafe.Pointer(uintptr(sp)+32), h.argp, h.argSize) if h.regArgs != nil { storeRegArgs(ctxt.cregs(), h.regArgs) } // Push return PC, which should be the signal PC+4, because // the signal PC is the PC of the trap instruction itself. ctxt.set_link(ctxt.pc() + 4) // Set PC to call and context register.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 17 15:33:38 UTC 2023 - 3.5K bytes - Viewed (0) -
src/runtime/export_debug_amd64_test.go
h.sigCtxt.savedRegs.fpstate = nil } // case 0 func (h *debugCallHandler) debugCallRun(ctxt *sigctxt) { rsp := ctxt.rsp() memmove(unsafe.Pointer(uintptr(rsp)), h.argp, h.argSize) if h.regArgs != nil { storeRegArgs(ctxt.regs(), h.regArgs) } // Push return PC. rsp -= goarch.PtrSize ctxt.set_rsp(rsp) // The signal PC is the next PC of the trap instruction. *(*uint64)(unsafe.Pointer(uintptr(rsp))) = ctxt.rip()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Apr 23 05:38:56 UTC 2022 - 3.6K bytes - Viewed (0) -
src/internal/abi/abi.go
import ( "internal/goarch" "unsafe" ) // RegArgs is a struct that has space for each argument // and return value register on the current architecture. // // Assembly code knows the layout of the first two fields // of RegArgs. // // RegArgs also contains additional space to hold pointers // when it may not be safe to keep them only in the integer // register space otherwise. type RegArgs struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 23 15:51:32 UTC 2023 - 3.1K bytes - Viewed (0) -
src/runtime/export_debug_test.go
// running. // // On success, InjectDebugCall returns the panic value of fn or nil. // If fn did not panic, its results will be available in args. func InjectDebugCall(gp *g, fn any, regArgs *abi.RegArgs, stackArgs any, tkill func(tid int) error, returnOnUnsafePoint bool) (any, error) { if gp.lockedm == 0 { return nil, plainError("goroutine not locked to thread") } tid := int(gp.lockedm.ptr().procid)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 15:41:45 UTC 2024 - 5.1K bytes - Viewed (0) -
src/reflect/asm_ppc64x.s
// scanning. // // The second local is an abi.RegArgs value whose offset is also known to the // runtime, so that a stack map for it can be constructed, since it contains // pointers visible to the GC. #define LOCAL_RETVALID 32+FIXED_FRAME #define LOCAL_REGARGS 40+FIXED_FRAME // The frame size of the functions below is // 32 (args of callReflect) + 8 (bool + padding) + 296 (abi.RegArgs) = 336.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Nov 06 10:24:44 UTC 2021 - 3.3K bytes - Viewed (0) -
src/reflect/asm_riscv64.s
// scanning. // // The second local is an abi.RegArgs value whose offset is also known to the // runtime, so that a stack map for it can be constructed, since it contains // pointers visible to the GC. #define LOCAL_RETVALID 40 #define LOCAL_REGARGS 48 // The frame size of the functions below is // 32 (args of callReflect/callMethod) + (8 bool with padding) + 392 (abi.RegArgs) = 432.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 01 01:41:42 UTC 2022 - 2.6K bytes - Viewed (0) -
src/reflect/asm_loong64.s
// scanning. // // The second local is an abi.RegArgs value whose offset is also known to the // runtime, so that a stack map for it can be constructed, since it contains // pointers visible to the GC. #define LOCAL_RETVALID 40 #define LOCAL_REGARGS 48 // The frame size of the functions below is // 32 (args of callReflect) + 8 (bool + padding) + 392 (abi.RegArgs) = 432.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 15:04:25 UTC 2024 - 2.7K bytes - Viewed (0) -
src/reflect/asm_arm64.s
// scanning. // // The second local is an abi.RegArgs value whose offset is also known to the // runtime, so that a stack map for it can be constructed, since it contains // pointers visible to the GC. #define LOCAL_RETVALID 40 #define LOCAL_REGARGS 48 // The frame size of the functions below is // 32 (args of callReflect) + 8 (bool + padding) + 392 (abi.RegArgs) = 432.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 18 18:26:13 UTC 2022 - 2.8K bytes - Viewed (0)