]> Cypherpunks repositories - gostls13.git/commit
[dev.cc] runtime: convert operating system support code from C to Go
authorRuss Cox <rsc@golang.org>
Tue, 11 Nov 2014 22:08:54 +0000 (17:08 -0500)
committerRuss Cox <rsc@golang.org>
Tue, 11 Nov 2014 22:08:54 +0000 (17:08 -0500)
commite785e3acf8a4845ada7bed96f1a88355b1e0cde3
tree6a23a9dbad60706a22c640b331d07cf8b2ddf8a1
parentb2cdf30eb6c4a76504956aaaad47df969274296b
[dev.cc] runtime: convert operating system support code from C to Go

The conversion was done with an automated tool and then
modified only as necessary to make it compile and run.

[This CL is part of the removal of C code from package runtime.
See golang.org/s/dev.cc for an overview.]

LGTM=r
R=r
CC=austin, dvyukov, golang-codereviews, iant, khr
https://golang.org/cl/174830044
21 files changed:
src/runtime/alg.go
src/runtime/os1_darwin.go [new file with mode: 0644]
src/runtime/os1_linux.go [new file with mode: 0644]
src/runtime/os2_darwin.go [new file with mode: 0644]
src/runtime/os2_linux.go [new file with mode: 0644]
src/runtime/os_darwin.c [deleted file]
src/runtime/os_darwin.go
src/runtime/os_darwin.h [deleted file]
src/runtime/os_dragonfly.c
src/runtime/os_freebsd.c
src/runtime/os_linux.c [deleted file]
src/runtime/os_linux.go
src/runtime/os_linux.h [deleted file]
src/runtime/os_linux_386.c [deleted file]
src/runtime/os_linux_386.go [new file with mode: 0644]
src/runtime/os_linux_amd64.go [new file with mode: 0644]
src/runtime/os_linux_arm.c [deleted file]
src/runtime/os_linux_arm.go [new file with mode: 0644]
src/runtime/vdso_linux_amd64.c [deleted file]
src/runtime/vdso_linux_amd64.go [new file with mode: 0644]
src/runtime/vdso_none.go [new file with mode: 0644]