]> Cypherpunks repositories - gostls13.git/commit
runtime: openbsd amd64 runtime support
authorJoel Sing <jsing@google.com>
Mon, 8 Aug 2011 13:56:38 +0000 (09:56 -0400)
committerRuss Cox <rsc@golang.org>
Mon, 8 Aug 2011 13:56:38 +0000 (09:56 -0400)
commit21ac258e07a3b265ab09695576ffa2f1a92befe9
treef54691e70661b524046c4fe50d73762e70ab1c11
parent604b91a43ec7532b100104db183983c1dd775b75
runtime: openbsd amd64 runtime support

Add support for the go runtime on openbsd/amd64. This is based on
the existing freebsd runtime.

Threads are implemented using OpenBSD's rthreads, which are currently
disabled by default, however can be enabled via the kern.rthreads
sysctl.

For now, cgo is disabled.

R=rsc
CC=golang-dev
https://golang.org/cl/4815067
src/pkg/runtime/cgo/Makefile
src/pkg/runtime/openbsd/amd64/defs.h [new file with mode: 0644]
src/pkg/runtime/openbsd/amd64/rt0.s [new file with mode: 0644]
src/pkg/runtime/openbsd/amd64/signal.c [new file with mode: 0644]
src/pkg/runtime/openbsd/amd64/sys.s [new file with mode: 0644]
src/pkg/runtime/openbsd/defs.c [new file with mode: 0644]
src/pkg/runtime/openbsd/mem.c [new file with mode: 0644]
src/pkg/runtime/openbsd/os.h [new file with mode: 0644]
src/pkg/runtime/openbsd/signals.h [new file with mode: 0644]
src/pkg/runtime/openbsd/thread.c [new file with mode: 0644]