]> Cypherpunks repositories - gostls13.git/commit
syscall, runtime: Plan 9: use nanotime syscall on amd64
authorAkshat Kumar <seed@mail.nanosouffle.net>
Tue, 26 Feb 2013 00:56:08 +0000 (01:56 +0100)
committerRon Minnich <rminnich@gmail.com>
Tue, 26 Feb 2013 00:56:08 +0000 (01:56 +0100)
commitd2326febd5164e5b8123f6507c34e800a57ce851
tree9b52312a197c170a45d48c869fe98225fbbc7faf
parentffa0f8306020387ed7004b680f678473bf9fa65d
syscall, runtime: Plan 9: use nanotime syscall on amd64

Separates the implementation of nanotime on 64-bit
version of Plan 9 from that on the 32-bit version.
The former uses a syscall.

R=rsc, rminnich, ality
CC=golang-dev
https://golang.org/cl/7379051
src/pkg/runtime/sys_plan9_amd64.s
src/pkg/runtime/thread_plan9.c
src/pkg/runtime/time_plan9_386.c [new file with mode: 0644]
src/pkg/syscall/syscall_plan9.go
src/pkg/syscall/syscall_plan9_386.go
src/pkg/syscall/syscall_plan9_amd64.go
src/pkg/syscall/zsysnum_plan9_amd64.go