Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(121)

Issue 152142: code review 152142: FreeBSD-specific porting work. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
15 years ago by dho
Modified:
15 years ago
Reviewers:
rsc, VenkateshSrinivas
Visibility:
Public.

Description

FreeBSD-specific porting work. cgo/libmach remain unimplemented. However, compilers, runtime, and packages are 100%. I still need to go through and implement missing syscalls (at least make sure they're all listed), but for all shipped functionality, this is done. Ship! ;)

Patch Set 1 #

Patch Set 2 : code review 152142: FreeBSD-specific porting work. #

Patch Set 3 : code review 152142: FreeBSD-specific porting work. #

Patch Set 4 : code review 152142: FreeBSD-specific porting work. #

Patch Set 5 : code review 152142: FreeBSD-specific porting work. #

Total comments: 19

Patch Set 6 : code review 152142: FreeBSD-specific porting work. #

Patch Set 7 : code review 152142: FreeBSD-specific porting work. #

Patch Set 8 : code review 152142: FreeBSD-specific porting work. #

Patch Set 9 : code review 152142: FreeBSD-specific porting work. #

Patch Set 10 : code review 152142: FreeBSD-specific porting work. #

Total comments: 8

Patch Set 11 : code review 152142: FreeBSD-specific porting work. #

Patch Set 12 : code review 152142: FreeBSD-specific porting work. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3956 lines, -8 lines) Patch
M misc/cgo/stdio/test.bash View 2 chunks +2 lines, -2 lines 0 comments Download
M src/cmd/6l/asm.c View 1 2 3 4 5 6 7 chunks +15 lines, -2 lines 0 comments Download
M src/cmd/6l/obj.c View 6 7 8 9 10 3 chunks +6 lines, -0 lines 0 comments Download
M src/cmd/cov/Makefile View 1 chunk +1 line, -0 lines 0 comments Download
M src/cmd/prof/Makefile View 1 chunk +1 line, -0 lines 0 comments Download
M src/libcgo/Makefile View 1 chunk +1 line, -0 lines 0 comments Download
A src/libcgo/freebsd_amd64.c View 1 chunk +46 lines, -0 lines 0 comments Download
A src/libmach/freebsd.c View 1 2 3 4 5 6 7 8 9 10 1 chunk +41 lines, -0 lines 0 comments Download
A src/pkg/debug/proc/proc_freebsd.go View 1 2 3 4 5 1 chunk +17 lines, -0 lines 0 comments Download
A src/pkg/debug/proc/regs_freebsd_amd64.go View 1 chunk +5 lines, -0 lines 0 comments Download
A src/pkg/net/fd_freebsd.go View 1 2 3 4 5 6 1 chunk +106 lines, -0 lines 0 comments Download
M src/pkg/net/ipsock.go View 1 chunk +4 lines, -0 lines 0 comments Download
A src/pkg/os/dir_freebsd.go View 1 2 3 4 5 1 chunk +74 lines, -0 lines 0 comments Download
A src/pkg/os/stat_freebsd.go View 1 chunk +38 lines, -0 lines 0 comments Download
A src/pkg/os/sys_freebsd.go View 1 2 3 4 5 1 chunk +16 lines, -0 lines 0 comments Download
M src/pkg/runtime/amd64/asm.s View 1 chunk +2 lines, -3 lines 0 comments Download
M src/pkg/runtime/darwin/amd64/rt0.s View 10 1 chunk +1 line, -0 lines 0 comments Download
A src/pkg/runtime/freebsd/amd64/defs.h View 1 2 3 4 5 6 1 chunk +157 lines, -0 lines 0 comments Download
A src/pkg/runtime/freebsd/amd64/rt0.s View 1 2 1 chunk +9 lines, -0 lines 0 comments Download
A src/pkg/runtime/freebsd/amd64/signal.c View 1 2 3 1 chunk +117 lines, -0 lines 0 comments Download
A src/pkg/runtime/freebsd/amd64/sys.s View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +125 lines, -0 lines 0 comments Download
A src/pkg/runtime/freebsd/defs.c View 1 2 3 4 5 6 1 chunk +49 lines, -0 lines 0 comments Download
A src/pkg/runtime/freebsd/os.h View 1 2 3 1 chunk +19 lines, -0 lines 0 comments Download
A src/pkg/runtime/freebsd/signals.h View 1 2 3 1 chunk +48 lines, -0 lines 0 comments Download
A src/pkg/runtime/freebsd/thread.c View 1 2 3 4 5 6 7 8 9 10 1 chunk +162 lines, -0 lines 0 comments Download
M src/pkg/runtime/linux/amd64/rt0.s View 10 1 chunk +1 line, -0 lines 0 comments Download
A src/pkg/syscall/asm_freebsd_amd64.s View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +77 lines, -0 lines 0 comments Download
A src/pkg/syscall/mksysnum_freebsd.sh View 1 2 3 4 5 6 1 chunk +41 lines, -0 lines 0 comments Download
A src/pkg/syscall/syscall_freebsd.go View 1 2 3 4 5 6 1 chunk +762 lines, -0 lines 0 comments Download
A src/pkg/syscall/syscall_freebsd_amd64.go View 1 2 3 4 5 6 1 chunk +30 lines, -0 lines 0 comments Download
A src/pkg/syscall/types_freebsd.c View 1 chunk +146 lines, -0 lines 0 comments Download
A src/pkg/syscall/zerrors_freebsd_amd64.go View 1 chunk +628 lines, -0 lines 0 comments Download
A src/pkg/syscall/zsyscall_freebsd_amd64.go View 1 2 3 4 5 6 1 chunk +661 lines, -0 lines 0 comments Download
A src/pkg/syscall/zsysnum_freebsd_amd64.go View 3 1 chunk +320 lines, -0 lines 0 comments Download
A src/pkg/syscall/ztypes_freebsd_amd64.go View 1 chunk +227 lines, -0 lines 0 comments Download
M src/pkg/time/time_test.go View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11
dho
Hello rsc, I'd like you to review the following change.
15 years ago (2009-11-14 17:50:16 UTC) #1
VenkateshSrinivas
Perhaps uint32 xadd(int *val, int delta) in src/pkg/runtime/freebsd/thread.c should use XADD instead of CMPXCHG?
15 years ago (2009-11-14 19:29:15 UTC) #2
rsc
On 2009/11/14 19:29:15, VenkateshSrinivas wrote: > Perhaps uint32 xadd(int *val, int delta) in src/pkg/runtime/freebsd/thread.c > ...
15 years ago (2009-11-14 19:57:14 UTC) #3
dho
Hello rsc, VenkateshSrinivas, I'd like you to review the following change.
15 years ago (2009-11-16 00:24:51 UTC) #4
rsc
http://codereview.appspot.com/152142/diff/1006/1007 File src/cmd/6l/asm.c (right): http://codereview.appspot.com/152142/diff/1006/1007#newcode288 src/cmd/6l/asm.c:288: if(HEADTYPE != 7 && HEADTYPE != 9) I wonder ...
15 years ago (2009-11-16 21:26:54 UTC) #5
dho
Hello rsc, VenkateshSrinivas, I'd like you to review the following change.
15 years ago (2009-11-17 03:27:53 UTC) #6
dho
On 2009/11/17 03:27:53, dho wrote: > Hello rsc, VenkateshSrinivas, > > I'd like you to ...
15 years ago (2009-11-17 06:08:37 UTC) #7
rsc
This looks really great. Thanks. A few nits below. Please fix and hg upload and ...
15 years ago (2009-11-17 07:46:56 UTC) #8
dho
Hello rsc, VenkateshSrinivas, I'd like you to review the following change.
15 years ago (2009-11-17 13:36:00 UTC) #9
rsc
LGTM Thanks very much. Will submit soon.
15 years ago (2009-11-17 16:05:04 UTC) #10
rsc
15 years ago (2009-11-17 16:21:00 UTC) #11
*** Submitted as http://code.google.com/p/go/source/detail?r=b23b2cd39e85 ***

FreeBSD-specific porting work.

cgo/libmach remain unimplemented. However, compilers, runtime,
and packages are 100%. I still need to go through and implement
missing syscalls (at least make sure they're all listed), but
for all shipped functionality, this is done. Ship! ;)

R=rsc, VenkateshSrinivas
http://codereview.appspot.com/152142

Committer: Russ Cox <rsc@golang.org>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b