]> Cypherpunks repositories - gostls13.git/commit
syscall: Changes to the syscall package to support NetBSD.
authorChristopher Nielsen <m4dh4tt3r@gmail.com>
Mon, 19 Dec 2011 16:57:58 +0000 (03:57 +1100)
committerJoel Sing <jsing@google.com>
Mon, 19 Dec 2011 16:57:58 +0000 (03:57 +1100)
commit5425db8f99965c692e929bd0e373297ceca3394a
tree4657c054cf639d565f44df778ddf19c1113f31d6
parent2ca4a61658b5561cc807fc1cebe177169ff28034
syscall: Changes to the syscall package to support NetBSD.

Not all syscalls are implemented, but many are. On the suggestion
of Joel Sing <jsing@google.com>, the generated files were added
with hg add instead of hg cp, since they are generated on an OS
dependant basis.

R=golang-dev, jsing, mikioh.mikioh
CC=golang-dev
https://golang.org/cl/5491050
27 files changed:
src/pkg/syscall/Makefile
src/pkg/syscall/asm_netbsd_386.s [new file with mode: 0644]
src/pkg/syscall/asm_netbsd_amd64.s [new file with mode: 0644]
src/pkg/syscall/bpf_bsd.go
src/pkg/syscall/env_unix.go
src/pkg/syscall/exec_unix.go
src/pkg/syscall/mkall.sh
src/pkg/syscall/mkerrors.sh
src/pkg/syscall/mksyscall.pl
src/pkg/syscall/mksysnum_netbsd.pl [new file with mode: 0755]
src/pkg/syscall/route_bsd.go
src/pkg/syscall/route_netbsd.go [new file with mode: 0644]
src/pkg/syscall/sockcmsg_unix.go
src/pkg/syscall/syscall_bsd.go
src/pkg/syscall/syscall_netbsd.go [new file with mode: 0644]
src/pkg/syscall/syscall_netbsd_386.go [new file with mode: 0644]
src/pkg/syscall/syscall_netbsd_amd64.go [new file with mode: 0644]
src/pkg/syscall/syscall_unix.go
src/pkg/syscall/types_netbsd.go [new file with mode: 0644]
src/pkg/syscall/zerrors_netbsd_386.go [new file with mode: 0644]
src/pkg/syscall/zerrors_netbsd_amd64.go [new file with mode: 0644]
src/pkg/syscall/zsyscall_netbsd_386.go [new file with mode: 0644]
src/pkg/syscall/zsyscall_netbsd_amd64.go [new file with mode: 0644]
src/pkg/syscall/zsysnum_netbsd_386.go [new file with mode: 0644]
src/pkg/syscall/zsysnum_netbsd_amd64.go [new file with mode: 0644]
src/pkg/syscall/ztypes_netbsd_386.go [new file with mode: 0644]
src/pkg/syscall/ztypes_netbsd_amd64.go [new file with mode: 0644]