Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for set_r28 (0.4 sec)

  1. src/runtime/signal_linux_mips64x.go

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

    		// Make it look the like faulting PC called sigpanic.
    		c.set_link(uint64(pc))
    	}
    
    	// In case we are panicking from external C code
    	sigpanicPC := uint64(abi.FuncPCABIInternal(sigpanic))
    	c.set_r28(sigpanicPC >> 32 << 32) // RSB register
    	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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  3. src/runtime/signal_freebsd_arm64.go

    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 }
    
    func (c *sigctxt) set_sigcode(x uint64) { c.info.si_code = int32(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)
  4. src/runtime/signal_openbsd_arm64.go

    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) }
    
    func (c *sigctxt) set_sigcode(x uint64) { c.info.si_code = int32(x) }
    func (c *sigctxt) set_sigaddr(x uint64) {
    	*(*uint64)(add(unsafe.Pointer(c.info), 16)) = 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)
  5. 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) {
    	// Push the LR to stack, as we'll clobber it in order to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 05 18:16:00 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  6. src/runtime/signal_ppc64x.go

    		// 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))))
    	c.set_r12(uint64(abi.FuncPCABIInternal(sigpanic)))
    	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: Fri Sep 08 15:08:04 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  7. src/runtime/signal_aix_ppc64.go

    func (c *sigctxt) sigaddr() uint64 { return uint64(c.info.si_addr) }
    func (c *sigctxt) fault() uintptr  { return uintptr(c.sigaddr()) }
    
    func (c *sigctxt) set_r0(x uint64)   { c.regs().gpr[0] = x }
    func (c *sigctxt) set_r12(x uint64)  { c.regs().gpr[12] = x }
    func (c *sigctxt) set_r30(x uint64)  { c.regs().gpr[30] = x }
    func (c *sigctxt) set_pc(x uint64)   { c.regs().iar = x }
    func (c *sigctxt) set_sp(x uint64)   { c.regs().gpr[1] = x }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 21:57:36 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  8. src/runtime/signal_openbsd_ppc64.go

    	return *(*uint64)(add(unsafe.Pointer(c.info), 16))
    }
    func (c *sigctxt) fault() uintptr { return uintptr(c.sigaddr()) }
    
    func (c *sigctxt) set_r0(x uint64)   { c.regs().sc_reg[0] = x }
    func (c *sigctxt) set_r12(x uint64)  { c.regs().sc_reg[12] = x }
    func (c *sigctxt) set_r30(x uint64)  { c.regs().sc_reg[30] = x }
    func (c *sigctxt) set_pc(x uint64)   { c.regs().sc_pc = x }
    func (c *sigctxt) set_sp(x uint64)   { c.regs().sc_reg[1] = x }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 02:48:11 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  9. src/runtime/signal_linux_ppc64x.go

    func (c *sigctxt) sigaddr() uint64 { return c.info.si_addr }
    func (c *sigctxt) fault() uintptr  { return uintptr(c.regs().dar) }
    
    func (c *sigctxt) set_r0(x uint64)   { c.regs().gpr[0] = x }
    func (c *sigctxt) set_r12(x uint64)  { c.regs().gpr[12] = x }
    func (c *sigctxt) set_r30(x uint64)  { c.regs().gpr[30] = x }
    func (c *sigctxt) set_pc(x uint64)   { c.regs().nip = x }
    func (c *sigctxt) set_sp(x uint64)   { c.regs().gpr[1] = x }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 15:08:04 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  10. src/runtime/export_debug_amd64_test.go

    	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()
    	// Set PC to call and context register.
    	ctxt.set_rip(uint64(h.fv.fn))
    	sigctxtSetContextRegister(ctxt, uint64(uintptr(unsafe.Pointer(h.fv))))
    }
    
    // case 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Apr 23 05:38:56 UTC 2022
    - 3.6K bytes
    - Viewed (0)
Back to top