asm_bsd_amd64.s 785 B

1234567891011121314151617181920212223242526272829
  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. // +build darwin dragonfly freebsd netbsd openbsd
  6. // +build gc
  7. #include "textflag.h"
  8. // System call support for AMD64 BSD
  9. // Just jump to package syscall's implementation for all these functions.
  10. // The runtime may know about them.
  11. TEXT ·Syscall(SB),NOSPLIT,$0-56
  12. JMP syscall·Syscall(SB)
  13. TEXT ·Syscall6(SB),NOSPLIT,$0-80
  14. JMP syscall·Syscall6(SB)
  15. TEXT ·Syscall9(SB),NOSPLIT,$0-104
  16. JMP syscall·Syscall9(SB)
  17. TEXT ·RawSyscall(SB),NOSPLIT,$0-56
  18. JMP syscall·RawSyscall(SB)
  19. TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
  20. JMP syscall·RawSyscall6(SB)