asm_plan9_386.s 702 B

123456789101112131415161718192021222324252627282930
  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)