Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 148 for syscallpc (0.13 sec)

  1. src/syscall/mkall.sh

    # let it know that a system call is running.
    #
    # * syscall_${GOOS}.go
    #
    # This hand-written Go file implements system calls that need
    # special handling and lists "//sys" comments giving prototypes
    # for ones that can be auto-generated.  Mksyscall reads those
    # comments to generate the stubs.
    #
    # * syscall_${GOOS}_${GOARCH}.go
    #
    # Same as syscall_${GOOS}.go except that it contains code specific
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 18:22:23 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  2. src/runtime/sys_freebsd_amd64.s

    	MOVQ	sig+8(FP), SI	// arg 2 sig
    	MOVL	$SYS_thr_kill, AX
    	SYSCALL
    	RET
    
    TEXT runtime·raiseproc(SB),NOSPLIT,$0
    	// getpid
    	MOVL	$SYS_getpid, AX
    	SYSCALL
    	// kill(self, sig)
    	MOVQ	AX, DI		// arg 1 pid
    	MOVL	sig+0(FP), SI	// arg 2 sig
    	MOVL	$SYS_kill, AX
    	SYSCALL
    	RET
    
    TEXT runtime·setitimer(SB), NOSPLIT, $-8
    	MOVL	mode+0(FP), DI
    	MOVQ	new+8(FP), SI
    	MOVQ	old+16(FP), DX
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  3. src/runtime/os_linux.go

    //go:nosplit
    func osyield_no_g() {
    	osyield()
    }
    
    func pipe2(flags int32) (r, w int32, errno int32)
    
    //go:nosplit
    func fcntl(fd, cmd, arg int32) (ret int32, errno int32) {
    	r, _, err := syscall.Syscall6(syscall.SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg), 0, 0, 0)
    	return int32(r), int32(err)
    }
    
    const (
    	_si_max_size    = 128
    	_sigev_max_size = 64
    )
    
    //go:nosplit
    //go:nowritebarrierrec
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  4. src/runtime/sys_linux_arm64.s

    	CBZ	R6, sigtramp    // g.m == nil
    	MOVW	m_ncgo(R6), R7
    	CBZW	R7, sigtramp    // g.m.ncgo = 0
    	MOVD	m_curg(R6), R8
    	CBZ	R8, sigtramp    // g.m.curg == nil
    	MOVD	g_syscallsp(R8), R7
    	CBZ	R7,	sigtramp    // g.m.curg.syscallsp == 0
    	MOVD	m_cgoCallers(R6), R4 // R4 is the fifth arg in C calling convention.
    	CBZ	R4,	sigtramp    // g.m.cgoCallers == nil
    	MOVW	m_cgoCallersUse(R6), R8
    	CBNZW	R8, sigtramp    // g.m.cgoCallersUse != 0
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 24 18:53:44 UTC 2023
    - 16.7K bytes
    - Viewed (0)
  5. src/syscall/syscall_linux.go

    // Note that sometimes we use a lowercase //sys name and
    // wrap it in our own nicer implementation.
    
    package syscall
    
    import (
    	"internal/itoa"
    	runtimesyscall "internal/runtime/syscall"
    	"runtime"
    	"unsafe"
    )
    
    // Pull in entersyscall/exitsyscall for Syscall/Syscall6.
    //
    // Note that this can't be a push linkname because the runtime already has a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  6. src/syscall/zsyscall_openbsd_riscv64.go

    	r0, _, e1 := syscall(abi.FuncPCABI0(libc_read_trampoline), uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
    	n = int(r0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.5K bytes
    - Viewed (0)
  7. src/syscall/zsyscall_openbsd_arm.go

    	r0, _, e1 := syscall(abi.FuncPCABI0(libc_read_trampoline), uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
    	n = int(r0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.6K bytes
    - Viewed (0)
  8. src/syscall/zsyscall_openbsd_amd64.go

    	r0, _, e1 := syscall(abi.FuncPCABI0(libc_read_trampoline), uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
    	n = int(r0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.4K bytes
    - Viewed (0)
  9. src/syscall/zsyscall_openbsd_arm64.go

    	r0, _, e1 := syscall(abi.FuncPCABI0(libc_read_trampoline), uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
    	n = int(r0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.4K bytes
    - Viewed (0)
  10. src/syscall/zsyscall_openbsd_ppc64.go

    	r0, _, e1 := syscall(abi.FuncPCABI0(libc_read_trampoline), uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
    	n = int(r0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.4K bytes
    - Viewed (0)
Back to top