You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

asm_bsd_amd64.s 722B

123456789101112131415161718192021222324252627
  1. // Copyright 2021 The Go Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style
  3. // license that can be found in the LICENSE file.
  4. //go:build (darwin || dragonfly || freebsd || netbsd || openbsd) && gc
  5. #include "textflag.h"
  6. // System call support for AMD64 BSD
  7. // Just jump to package syscall's implementation for all these functions.
  8. // The runtime may know about them.
  9. TEXT ·Syscall(SB),NOSPLIT,$0-56
  10. JMP syscall·Syscall(SB)
  11. TEXT ·Syscall6(SB),NOSPLIT,$0-80
  12. JMP syscall·Syscall6(SB)
  13. TEXT ·Syscall9(SB),NOSPLIT,$0-104
  14. JMP syscall·Syscall9(SB)
  15. TEXT ·RawSyscall(SB),NOSPLIT,$0-56
  16. JMP syscall·RawSyscall(SB)
  17. TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
  18. JMP syscall·RawSyscall6(SB)