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.

32 lines
769 B

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