A lightweight mechanism to provide an *instant kickstart* to a Go web server instance upon changing any Go source files under the project directory (and its subdirectories).

asm_plan9_amd64.s 704B

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 amd64, 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-64
  11. JMP syscall·Syscall(SB)
  12. TEXT ·Syscall6(SB),NOSPLIT,$0-88
  13. JMP syscall·Syscall6(SB)
  14. TEXT ·RawSyscall(SB),NOSPLIT,$0-56
  15. JMP syscall·RawSyscall(SB)
  16. TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
  17. JMP syscall·RawSyscall6(SB)
  18. TEXT ·seek(SB),NOSPLIT,$0-56
  19. JMP syscall·seek(SB)
  20. TEXT ·exit(SB),NOSPLIT,$8-8
  21. JMP syscall·exit(SB)