[dev.cc] runtime: convert freebsd to Go

It builds.
Don't know if it works, but it's a lot closer than having everything in C.

LGTM=r
R=r
CC=golang-codereviews
https://golang.org/cl/168590043
This commit is contained in:
Russ Cox 2014-11-11 23:00:29 -05:00
parent c81d248eca
commit aac17fd4e1
25 changed files with 639 additions and 1008 deletions

View file

@ -34,7 +34,3 @@ func sigtramp()
func setitimer(mode int32, new, old *itimerval)
func raise(int32)
// careful: cputicks is not guaranteed to be monotonic! In particular, we have
// noticed drift between cpus on certain os/arch combinations. See issue 8976.
func cputicks() int64