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.

30 lines
764 B

  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 || freebsd || netbsd || openbsd) && gc
  5. // +build darwin freebsd netbsd openbsd
  6. // +build gc
  7. #include "textflag.h"
  8. // System call support for RISCV64 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)