Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 81 for set_fp (0.11 sec)

  1. src/runtime/signal_riscv64.go

    	// anyway.
    	sp := c.sp() - goarch.PtrSize
    	c.set_sp(sp)
    	*(*uint64)(unsafe.Pointer(uintptr(sp))) = c.ra()
    
    	pc := gp.sigpc
    
    	if shouldPushSigpanic(gp, pc, uintptr(c.ra())) {
    		// Make it look the like faulting PC called sigpanic.
    		c.set_ra(uint64(pc))
    	}
    
    	// In case we are panicking from external C code
    	c.set_gp(uint64(uintptr(unsafe.Pointer(gp))))
    	c.set_pc(uint64(abi.FuncPCABIInternal(sigpanic)))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 02:55:17 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  2. src/runtime/signal_linux_s390x.go

    func (c *sigctxt) sigaddr() uint64 { return c.info.si_addr }
    
    func (c *sigctxt) set_r0(x uint64)      { c.regs().gregs[0] = x }
    func (c *sigctxt) set_r13(x uint64)     { c.regs().gregs[13] = x }
    func (c *sigctxt) set_link(x uint64)    { c.regs().gregs[14] = x }
    func (c *sigctxt) set_sp(x uint64)      { c.regs().gregs[15] = x }
    func (c *sigctxt) set_pc(x uint64)      { c.regs().psw_addr = x }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 17 20:42:23 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  3. 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)
  4. src/runtime/signal_openbsd_arm.go

    func (c *sigctxt) sigaddr() uint32 {
    	return *(*uint32)(add(unsafe.Pointer(c.info), 16))
    }
    
    func (c *sigctxt) set_pc(x uint32)  { c.regs().sc_pc = x }
    func (c *sigctxt) set_sp(x uint32)  { c.regs().sc_usr_sp = x }
    func (c *sigctxt) set_lr(x uint32)  { c.regs().sc_usr_lr = x }
    func (c *sigctxt) set_r10(x uint32) { c.regs().sc_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 Dec 13 18:13:30 UTC 2018
    - 2.1K bytes
    - Viewed (0)
  5. src/runtime/signal_netbsd_arm.go

    func (c *sigctxt) sigcode() uint32 { return uint32(c.info._code) }
    func (c *sigctxt) sigaddr() uint32 { return uint32(c.info._reason) }
    
    func (c *sigctxt) set_pc(x uint32)  { c.regs().__gregs[_REG_R15] = x }
    func (c *sigctxt) set_sp(x uint32)  { c.regs().__gregs[_REG_R13] = x }
    func (c *sigctxt) set_lr(x uint32)  { c.regs().__gregs[_REG_R14] = x }
    func (c *sigctxt) set_r10(x uint32) { c.regs().__gregs[_REG_R10] = x }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 02:31:25 UTC 2017
    - 2.3K bytes
    - Viewed (0)
  6. src/runtime/export_debug_ppc64le_test.go

    	reason := *(*string)(unsafe.Pointer(uintptr(sp) + 40))
    	h.err = plainError(reason)
    	ctxt.set_pc(ctxt.pc() + 4)
    }
    
    // case 16
    func (h *debugCallHandler) restoreSigContext(ctxt *sigctxt) {
    	// Restore all registers except for pc and sp
    	pc, sp := ctxt.pc(), ctxt.sp()
    	*ctxt.cregs() = h.sigCtxt.savedRegs
    	ctxt.set_pc(pc + 4)
    	ctxt.set_sp(sp)
    }
    
    // storeRegArgs sets up argument registers in the signal
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 15:33:38 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  7. src/runtime/signal_netbsd_arm64.go

    func (c *sigctxt) sigcode() uint64 { return uint64(c.info._code) }
    func (c *sigctxt) sigaddr() uint64 { return uint64(c.info._reason) }
    
    func (c *sigctxt) set_pc(x uint64)  { c.regs().__gregs[_REG_ELR] = x }
    func (c *sigctxt) set_sp(x uint64)  { c.regs().__gregs[_REG_X31] = x }
    func (c *sigctxt) set_lr(x uint64)  { c.regs().__gregs[_REG_X30] = x }
    func (c *sigctxt) set_r28(x uint64) { c.regs().__gregs[_REG_X28] = x }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Apr 20 15:02:01 UTC 2019
    - 3.4K bytes
    - Viewed (0)
  8. src/runtime/signal_darwin_arm64.go

    func (c *sigctxt) sigaddr() uint64 { return uint64(uintptr(unsafe.Pointer(c.info.si_addr))) }
    
    func (c *sigctxt) set_pc(x uint64)  { c.regs().pc = x }
    func (c *sigctxt) set_sp(x uint64)  { c.regs().sp = x }
    func (c *sigctxt) set_lr(x uint64)  { c.regs().lr = x }
    func (c *sigctxt) set_r28(x uint64) { c.regs().x[28] = x }
    
    func (c *sigctxt) set_sigcode(x uint64) { c.info.si_code = int32(x) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:03:24 UTC 2019
    - 3.6K bytes
    - Viewed (0)
  9. src/runtime/signal_linux_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().pc = x }
    func (c *sigctxt) set_sp(x uint64)  { c.regs().sp = x }
    func (c *sigctxt) set_lr(x uint64)  { c.regs().regs[30] = x }
    func (c *sigctxt) set_r28(x uint64) { c.regs().regs[28] = 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.9K bytes
    - Viewed (0)
  10. 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)
Back to top