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.
 
 
 

31 lines
702 B

  1. // Copyright 2009 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. #include "textflag.h"
  5. //
  6. // System call support for 386, Plan 9
  7. //
  8. // Just jump to package syscall's implementation for all these functions.
  9. // The runtime may know about them.
  10. TEXT ·Syscall(SB),NOSPLIT,$0-32
  11. JMP syscall·Syscall(SB)
  12. TEXT ·Syscall6(SB),NOSPLIT,$0-44
  13. JMP syscall·Syscall6(SB)
  14. TEXT ·RawSyscall(SB),NOSPLIT,$0-28
  15. JMP syscall·RawSyscall(SB)
  16. TEXT ·RawSyscall6(SB),NOSPLIT,$0-40
  17. JMP syscall·RawSyscall6(SB)
  18. TEXT ·seek(SB),NOSPLIT,$0-36
  19. JMP syscall·seek(SB)
  20. TEXT ·exit(SB),NOSPLIT,$4-4
  21. JMP syscall·exit(SB)