Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for setsigpc (0.17 sec)

  1. src/runtime/signal_amd64.go

    	print("fs     ", hex(c.fs()), "\n")
    	print("gs     ", hex(c.gs()), "\n")
    }
    
    //go:nosplit
    //go:nowritebarrierrec
    func (c *sigctxt) sigpc() uintptr { return uintptr(c.rip()) }
    
    func (c *sigctxt) setsigpc(x uint64) { c.set_rip(x) }
    func (c *sigctxt) sigsp() uintptr    { return uintptr(c.rsp()) }
    func (c *sigctxt) siglr() uintptr    { return 0 }
    func (c *sigctxt) fault() uintptr    { return uintptr(c.sigaddr()) }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Apr 23 05:38:56 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  2. src/runtime/signal_ppc64x.go

    	print("ccr  ", hex(c.ccr()), "\t")
    	print("trap ", hex(c.trap()), "\n")
    }
    
    //go:nosplit
    //go:nowritebarrierrec
    func (c *sigctxt) sigpc() uintptr    { return uintptr(c.pc()) }
    func (c *sigctxt) setsigpc(x uint64) { c.set_pc(x) }
    
    func (c *sigctxt) sigsp() uintptr { return uintptr(c.sp()) }
    func (c *sigctxt) siglr() uintptr { return uintptr(c.link()) }
    
    // preparePanic sets up the stack to look like a call to sigpanic.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 15:08:04 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  3. src/runtime/signal_arm64.go

    	print("pc      ", hex(c.pc()), "\n")
    	print("fault   ", hex(c.fault()), "\n")
    }
    
    //go:nosplit
    //go:nowritebarrierrec
    func (c *sigctxt) sigpc() uintptr { return uintptr(c.pc()) }
    
    func (c *sigctxt) setsigpc(x uint64) { c.set_pc(x) }
    func (c *sigctxt) sigsp() uintptr    { return uintptr(c.sp()) }
    func (c *sigctxt) siglr() uintptr    { return uintptr(c.lr()) }
    
    // preparePanic sets up the stack to look like a call to sigpanic.
    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/export_debug_test.go

    	case _Grunning:
    		if getg().m != h.mp {
    			println("trap on wrong M", getg().m, h.mp)
    			return false
    		}
    		// Save the signal context
    		h.saveSigContext(ctxt)
    		// Set PC to debugCallV2.
    		ctxt.setsigpc(uint64(abi.FuncPCABIInternal(debugCallV2)))
    		// Call injected. Switch to the debugCall protocol.
    		testSigtrap = h.handleF
    	case _Grunnable:
    		// Ask InjectDebugCall to pause for a bit and then try
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. test/typeparam/setsimp.go

    Matthew Dempsky <******@****.***> 1646087539 -0800
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 187 bytes
    - Viewed (0)
  6. src/runtime/os_freebsd2.go

    // license that can be found in the LICENSE file.
    
    //go:build freebsd && !amd64
    
    package runtime
    
    import "internal/abi"
    
    //go:nosplit
    //go:nowritebarrierrec
    func setsig(i uint32, fn uintptr) {
    	var sa sigactiont
    	sa.sa_flags = _SA_SIGINFO | _SA_ONSTACK | _SA_RESTART
    	sa.sa_mask = sigset_all
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 603 bytes
    - Viewed (0)
  7. src/runtime/os_freebsd_amd64.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package runtime
    
    import "internal/abi"
    
    func cgoSigtramp()
    
    //go:nosplit
    //go:nowritebarrierrec
    func setsig(i uint32, fn uintptr) {
    	var sa sigactiont
    	sa.sa_flags = _SA_SIGINFO | _SA_ONSTACK | _SA_RESTART
    	sa.sa_mask = sigset_all
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 21 22:40:36 UTC 2021
    - 658 bytes
    - Viewed (0)
  8. src/runtime/signal_unix.go

    			if fwdSig[i] != _SIG_DFL && fwdSig[i] != _SIG_IGN {
    				setsigstack(i)
    			} else if fwdSig[i] == _SIG_IGN {
    				sigInitIgnored(i)
    			}
    			continue
    		}
    
    		handlingSig[i] = 1
    		setsig(i, abi.FuncPCABIInternal(sighandler))
    	}
    }
    
    //go:nosplit
    //go:nowritebarrierrec
    func sigInstallGoHandler(sig uint32) bool {
    	// For some signals, we respect an inherited SIG_IGN handler
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 16:04:54 UTC 2024
    - 45K bytes
    - Viewed (0)
  9. src/runtime/defs_linux_mips64x.go

    	tv.tv_usec = int64(x)
    }
    
    type sigactiont struct {
    	sa_flags   uint32
    	sa_handler uintptr
    	sa_mask    [2]uint64
    	// linux header does not have sa_restorer field,
    	// but it is used in setsig(). it is no harm to put it here
    	sa_restorer uintptr
    }
    
    type siginfoFields struct {
    	si_signo int32
    	si_code  int32
    	si_errno int32
    	__pad0   [1]int32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  10. src/runtime/defs_linux_mipsx.go

    	tv.tv_usec = x
    }
    
    type sigactiont struct {
    	sa_flags   uint32
    	sa_handler uintptr
    	sa_mask    [4]uint32
    	// linux header does not have sa_restorer field,
    	// but it is used in setsig(). it is no harm to put it here
    	sa_restorer uintptr
    }
    
    type siginfoFields struct {
    	si_signo int32
    	si_code  int32
    	si_errno int32
    	// below here is a union; si_addr is the only field we use
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 3.6K bytes
    - Viewed (0)
Back to top