Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 72 for set_gp (0.13 sec)

  1. src/runtime/signal_loong64.go

    	// anyway.
    	sp := c.sp() - goarch.PtrSize
    	c.set_sp(sp)
    	*(*uint64)(unsafe.Pointer(uintptr(sp))) = c.link()
    
    	pc := gp.sigpc
    
    	if shouldPushSigpanic(gp, pc, uintptr(c.link())) {
    		// Make it look the like faulting PC called sigpanic.
    		c.set_link(uint64(pc))
    	}
    
    	// In case we are panicking from external C code
    	c.set_r22(uint64(uintptr(unsafe.Pointer(gp))))
    	c.set_pc(uint64(abi.FuncPCABIInternal(sigpanic)))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 21 06:51:28 UTC 2023
    - 3K bytes
    - Viewed (0)
  2. src/runtime/signal_arm64.go

    	pc := gp.sigpc
    
    	if shouldPushSigpanic(gp, pc, uintptr(c.lr())) {
    		// Make it look the like faulting PC called sigpanic.
    		c.set_lr(uint64(pc))
    	}
    
    	// In case we are panicking from external C code
    	c.set_r28(uint64(uintptr(unsafe.Pointer(gp))))
    	c.set_pc(uint64(abi.FuncPCABIInternal(sigpanic)))
    }
    
    func (c *sigctxt) pushCall(targetPC, resumePC uintptr) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 05 18:16:00 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  3. src/runtime/signal_386.go

    	} else {
    		// Not safe to push the call. Just clobber the frame.
    		c.set_eip(uint32(abi.FuncPCABIInternal(sigpanic)))
    	}
    }
    
    func (c *sigctxt) pushCall(targetPC, resumePC uintptr) {
    	// Make it look like we called target at resumePC.
    	sp := uintptr(c.esp())
    	sp -= goarch.PtrSize
    	*(*uintptr)(unsafe.Pointer(sp)) = resumePC
    	c.set_esp(uint32(sp))
    	c.set_eip(uint32(targetPC))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  4. src/runtime/signal_windows.go

    		sp := unsafe.Pointer(r.sp())
    		delta := uintptr(sys.StackAlign)
    		sp = add(sp, -delta)
    		r.set_sp(uintptr(sp))
    		if usesLR {
    			*((*uintptr)(sp)) = r.lr()
    			r.set_lr(r.ip())
    		} else {
    			*((*uintptr)(sp)) = r.ip()
    		}
    	}
    	r.set_ip(abi.FuncPCABI0(sigpanic0))
    	return _EXCEPTION_CONTINUE_EXECUTION
    }
    
    // sehhandler is reached as part of the SEH chain.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 20:32:29 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  5. src/runtime/signal_linux_mipsx.go

    func (c *sigctxt) sigaddr() uint32 { return c.info.si_addr }
    
    func (c *sigctxt) set_r30(x uint32)  { c.regs().sc_regs[30] = uint64(x) }
    func (c *sigctxt) set_pc(x uint32)   { c.regs().sc_pc = uint64(x) }
    func (c *sigctxt) set_sp(x uint32)   { c.regs().sc_regs[29] = uint64(x) }
    func (c *sigctxt) set_link(x uint32) { c.regs().sc_regs[31] = uint64(x) }
    
    func (c *sigctxt) set_sigcode(x uint32) { c.info.si_code = int32(x) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 3.7K bytes
    - Viewed (0)
  6. src/runtime/signal_freebsd_arm64.go

    func (c *sigctxt) sigcode() uint64 { return uint64(c.info.si_code) }
    func (c *sigctxt) sigaddr() uint64 { return c.info.si_addr }
    
    func (c *sigctxt) set_pc(x uint64)  { c.regs().mc_gpregs.gp_elr = x }
    func (c *sigctxt) set_sp(x uint64)  { c.regs().mc_gpregs.gp_sp = x }
    func (c *sigctxt) set_lr(x uint64)  { c.regs().mc_gpregs.gp_lr = x }
    func (c *sigctxt) set_r28(x uint64) { c.regs().mc_gpregs.gp_x[28] = x }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 18:20:42 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  7. src/runtime/signal_openbsd_arm64.go

    }
    
    //go:nosplit
    //go:nowritebarrierrec
    func (c *sigctxt) pc() uint64 { return uint64(c.regs().sc_elr) }
    
    func (c *sigctxt) set_pc(x uint64)  { c.regs().sc_elr = uintptr(x) }
    func (c *sigctxt) set_sp(x uint64)  { c.regs().sc_sp = uintptr(x) }
    func (c *sigctxt) set_lr(x uint64)  { c.regs().sc_lr = uintptr(x) }
    func (c *sigctxt) set_r28(x uint64) { c.regs().sc_x[28] = uintptr(x) }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 18:20:42 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  8. src/runtime/os_windows.go

    				c.set_lr(newpc - 1)
    				c.set_ip(targetPC)
    
    			case "arm64":
    				// Push LR. The injected call is responsible
    				// for restoring LR. gentraceback is aware of
    				// this extra slot. See sigctxt.pushCall in
    				// signal_arm64.go.
    				sp := c.sp() - 16 // SP needs 16-byte alignment
    				c.set_sp(sp)
    				*(*uint64)(unsafe.Pointer(sp)) = uint64(c.lr())
    				c.set_lr(newpc)
    				c.set_ip(targetPC)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  9. ci/official/utilities/setup.sh

    # See the License for the specific language governing permissions and
    # limitations under the License.
    # ==============================================================================
    #
    # Common setup for all TF scripts.
    #
    # Make as FEW changes to this file as possible. It should not contain utility
    # functions (except for tfrun); use dedicated scripts instead and reference them
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 26 00:33:34 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. pkg/test/framework/components/echo/echotest/setup.go

    //   - cleanup...
    //   - b/to_a/from_cluster-1
    //     ...
    func (t *T) Setup(setupFn srcSetupFn) *T {
    	t.sourceDeploymentSetup = append(t.sourceDeploymentSetup, setupFn)
    	return t
    }
    
    func (t *T) setup(ctx framework.TestContext, from echo.Callers) {
    	if !t.hasSourceSetup() {
    		ctx.SkipDumping()
    		scopes.Framework.Debugf("No echotest setup; skipping test dump at this scope.")
    	}
    	for _, setupFn := range t.sourceDeploymentSetup {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 20 19:13:32 UTC 2023
    - 3.6K bytes
    - Viewed (0)
Back to top