Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 81 for set_fp (0.15 sec)

  1. 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)
  2. src/runtime/signal_mipsx.go

    	// anyway.
    	sp := c.sp() - sys.MinFrameSize
    	c.set_sp(sp)
    	*(*uint32)(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(uint32(pc))
    	}
    
    	// In case we are panicking from external C code
    	c.set_r30(uint32(uintptr(unsafe.Pointer(gp))))
    	c.set_pc(uint32(abi.FuncPCABIInternal(sigpanic)))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 3.1K bytes
    - Viewed (0)
  3. src/runtime/signal_ppc64x.go

    	// anyway.
    	sp := c.sp() - sys.MinFrameSize
    	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_r0(0)
    	c.set_r30(uint64(uintptr(unsafe.Pointer(gp))))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 15:08:04 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  4. src/runtime/signal_mips64x.go

    	c.set_r30(uint64(uintptr(unsafe.Pointer(gp))))
    	c.set_pc(sigpanicPC)
    }
    
    func (c *sigctxt) pushCall(targetPC, resumePC uintptr) {
    	// Push the LR to stack, as we'll clobber it in order to
    	// push the call. The function being pushed is responsible
    	// for restoring the LR and setting the SP back.
    	// This extra slot is known to gentraceback.
    	sp := c.sp() - 8
    	c.set_sp(sp)
    	*(*uint64)(unsafe.Pointer(uintptr(sp))) = c.link()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. src/runtime/signal_freebsd_arm.go

    func (c *sigctxt) sigcode() uint32 { return uint32(c.info.si_code) }
    func (c *sigctxt) sigaddr() uint32 { return uint32(c.info.si_addr) }
    
    func (c *sigctxt) set_pc(x uint32)  { c.regs().__gregs[15] = x }
    func (c *sigctxt) set_sp(x uint32)  { c.regs().__gregs[13] = x }
    func (c *sigctxt) set_lr(x uint32)  { c.regs().__gregs[14] = x }
    func (c *sigctxt) set_r10(x uint32) { c.regs().__gregs[10] = x }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 02:31:25 UTC 2017
    - 2.2K bytes
    - Viewed (0)
  8. src/runtime/signal_linux_arm.go

    func (c *sigctxt) sigcode() uint32 { return uint32(c.info.si_code) }
    func (c *sigctxt) sigaddr() uint32 { return c.info.si_addr }
    
    func (c *sigctxt) set_pc(x uint32)  { c.regs().pc = x }
    func (c *sigctxt) set_sp(x uint32)  { c.regs().sp = x }
    func (c *sigctxt) set_lr(x uint32)  { c.regs().lr = x }
    func (c *sigctxt) set_r10(x uint32) { c.regs().r10 = 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 Jun 17 18:54:48 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  9. src/runtime/signal_linux_amd64.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_rip(x uint64)     { c.regs().rip = x }
    func (c *sigctxt) set_rsp(x uint64)     { c.regs().rsp = x }
    func (c *sigctxt) set_sigcode(x uint64) { c.info.si_code = int32(x) }
    func (c *sigctxt) set_sigaddr(x uint64) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 17 18:54:48 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  10. src/runtime/signal_linux_386.go

    func (c *sigctxt) sigcode() uint32 { return uint32(c.info.si_code) }
    func (c *sigctxt) sigaddr() uint32 { return c.info.si_addr }
    
    func (c *sigctxt) set_eip(x uint32)     { c.regs().eip = x }
    func (c *sigctxt) set_esp(x uint32)     { c.regs().esp = x }
    func (c *sigctxt) set_sigcode(x uint32) { c.info.si_code = int32(x) }
    func (c *sigctxt) set_sigaddr(x uint32) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 17 18:54:48 UTC 2021
    - 1.6K bytes
    - Viewed (0)
Back to top