asm_plan9_386.s raw

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