Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 118 for sigaddr (0.15 sec)

  1. src/runtime/signal_aix_ppc64.go

    // TODO(aix): find trap equivalent
    func (c *sigctxt) trap() uint32 { return 0x0 }
    
    func (c *sigctxt) sigcode() uint32 { return uint32(c.info.si_code) }
    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 }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 21:57:36 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  2. src/runtime/signal_openbsd_ppc64.go

    func (c *sigctxt) ccr() uint64  { return c.regs().sc_cr }
    
    func (c *sigctxt) sigcode() uint32 { return uint32(c.info.si_code) }
    func (c *sigctxt) sigaddr() uint64 {
    	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 }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 02:48:11 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  3. src/runtime/signal_openbsd_arm64.go

    //go:nosplit
    //go:nowritebarrierrec
    func (c *sigctxt) rip() uint64 { return (uint64)(c.regs().sc_lr) } /* XXX */
    
    func (c *sigctxt) fault() uintptr  { return uintptr(c.sigaddr()) }
    func (c *sigctxt) sigcode() uint64 { return uint64(c.info.si_code) }
    func (c *sigctxt) sigaddr() uint64 {
    	return *(*uint64)(add(unsafe.Pointer(c.info), 16))
    }
    
    //go:nosplit
    //go:nowritebarrierrec
    func (c *sigctxt) pc() uint64 { return uint64(c.regs().sc_elr) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 18:20:42 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  4. src/runtime/signal_freebsd_arm64.go

    //go:nosplit
    //go:nowritebarrierrec
    func (c *sigctxt) pc() uint64 { return c.regs().mc_gpregs.gp_elr }
    
    func (c *sigctxt) fault() uintptr { return uintptr(c.info.si_addr) }
    
    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 }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 18:20:42 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  5. src/runtime/signal_openbsd_riscv64.go

    //go:nosplit
    //go:nowritebarrierrec
    func (c *sigctxt) pc() uint64 { return uint64(c.regs().sc_sepc) }
    
    func (c *sigctxt) sigcode() uint64 { return uint64(c.info.si_code) }
    func (c *sigctxt) sigaddr() uint64 {
    	return *(*uint64)(add(unsafe.Pointer(c.info), 2*goarch.PtrSize))
    }
    
    func (c *sigctxt) set_pc(x uint64) { c.regs().sc_sepc = uintptr(x) }
    func (c *sigctxt) set_ra(x uint64) { c.regs().sc_ra = uintptr(x) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 02:55:17 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. src/runtime/signal_linux_ppc64x.go

    func (c *sigctxt) xer() uint64  { return c.regs().xer }
    func (c *sigctxt) ccr() uint64  { return c.regs().ccr }
    
    func (c *sigctxt) sigcode() uint32 { return uint32(c.info.si_code) }
    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 }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 15:08:04 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  7. src/runtime/signal_riscv64.go

    func (c *sigctxt) sigsp() uintptr { return uintptr(c.sp()) }
    func (c *sigctxt) siglr() uintptr { return uintptr(c.ra()) }
    func (c *sigctxt) fault() uintptr { return uintptr(c.sigaddr()) }
    
    // preparePanic sets up the stack to look like a call to sigpanic.
    func (c *sigctxt) preparePanic(sig uint32, gp *g) {
    	// We arrange RA, and pc to pretend the panicking
    	// function calls sigpanic directly.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 02:55:17 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  8. src/net/file_unix.go

    		poll.CloseFunc(s)
    		return nil, err
    	}
    	laddr := fd.addrFunc()(lsa)
    	raddr := fd.addrFunc()(rsa)
    	fd.net = laddr.Network()
    	if err := fd.init(); err != nil {
    		fd.Close()
    		return nil, err
    	}
    	fd.setAddr(laddr, raddr)
    	return fd, nil
    }
    
    func fileConn(f *os.File) (Conn, error) {
    	fd, err := newFileFD(f)
    	if err != nil {
    		return nil, err
    	}
    	switch fd.laddr.(type) {
    	case *TCPAddr:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/x86/asm_test.go

    		{regAddr(REG_X6), Yxr},
    		{regAddr(REG_X13), Yxr},
    		{regAddr(REG_X20), YxrEvex},
    		{regAddr(REG_X31), YxrEvex},
    		{regAddr(REG_Y0), Yyr},
    		{regAddr(REG_Y6), Yyr},
    		{regAddr(REG_Y13), Yyr},
    		{regAddr(REG_Y20), YyrEvex},
    		{regAddr(REG_Y31), YyrEvex},
    		{regAddr(REG_Z0), Yzr},
    		{regAddr(REG_Z6), Yzr},
    		{regAddr(REG_K0), Yk0},
    		{regAddr(REG_K5), Yknot0},
    		{regAddr(REG_K7), Yknot0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 28 19:39:51 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  10. src/runtime/defs_linux_s390x.go

    	sa_flags    uint64
    	sa_restorer uintptr
    	sa_mask     uint64
    }
    
    type siginfoFields struct {
    	si_signo int32
    	si_errno int32
    	si_code  int32
    	// below here is a union; si_addr is the only field we use
    	si_addr uint64
    }
    
    type siginfo struct {
    	siginfoFields
    
    	// Pad struct to the max size in the kernel.
    	_ [_si_max_size - unsafe.Sizeof(siginfoFields{})]byte
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 3.2K bytes
    - Viewed (0)
Back to top