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

Issue 4926042: code review 4926042: runtime: use cgo runtime functions to call windows syscalls (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 8 months ago by brainman
Modified:
12 years, 7 months ago
Reviewers:
jp
CC:
rsc, golang-dev, vcc
Visibility:
Public.

Description

runtime: use cgo runtime functions to call windows syscalls

Patch Set 1 #

Patch Set 2 : diff -r 15cefddbe963 https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 15cefddbe963 https://go.googlecode.com/hg/ #

Total comments: 7

Patch Set 4 : diff -r 7fec8679f10d https://go.googlecode.com/hg/ #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -87 lines) Patch
M src/pkg/runtime/cgocall.c View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/runtime/mkasmh.sh View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/pkg/runtime/runtime.h View 1 2 3 3 chunks +10 lines, -5 lines 0 comments Download
M src/pkg/runtime/windows/386/sys.s View 1 2 3 1 chunk +15 lines, -25 lines 1 comment Download
M src/pkg/runtime/windows/amd64/sys.s View 1 2 3 2 chunks +45 lines, -34 lines 0 comments Download
M src/pkg/runtime/windows/os.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/runtime/windows/thread.c View 1 2 chunks +15 lines, -21 lines 0 comments Download

Messages

Total messages: 8
brainman
Hello golang-dev@googlegroups.com (cc: vcc.163@gmail.com), I'd like you to review this change to https://go.googlecode.com/hg/
12 years, 8 months ago (2011-08-22 10:58:05 UTC) #1
jp
published comments http://codereview.appspot.com/4926042/diff/4001/src/pkg/runtime/windows/amd64/sys.s File src/pkg/runtime/windows/amd64/sys.s (right): http://codereview.appspot.com/4926042/diff/4001/src/pkg/runtime/windows/amd64/sys.s#newcode43 src/pkg/runtime/windows/amd64/sys.s:43: MOVQ 24(SI), R9 is it safe to ...
12 years, 8 months ago (2011-08-25 05:54:29 UTC) #2
rsc
LGTM Was this prompted by something or just a simplification? http://codereview.appspot.com/4926042/diff/4001/src/pkg/runtime/windows/386/sys.s File src/pkg/runtime/windows/386/sys.s (right): http://codereview.appspot.com/4926042/diff/4001/src/pkg/runtime/windows/386/sys.s#newcode15 ...
12 years, 8 months ago (2011-08-26 20:20:26 UTC) #3
brainman
*** Submitted as http://code.google.com/p/go/source/detail?r=5e1053337103 *** runtime: use cgo runtime functions to call windows syscalls R=rsc ...
12 years, 7 months ago (2011-08-27 13:17:09 UTC) #4
brainman
On 2011/08/26 20:20:26, rsc wrote: > > Was this prompted by something or just a ...
12 years, 7 months ago (2011-08-27 13:17:51 UTC) #5
jp
http://codereview.appspot.com/4926042/diff/4001/src/pkg/runtime/windows/amd64/sys.s File src/pkg/runtime/windows/amd64/sys.s (right): http://codereview.appspot.com/4926042/diff/4001/src/pkg/runtime/windows/amd64/sys.s#newcode43 src/pkg/runtime/windows/amd64/sys.s:43: MOVQ 24(SI), R9 On 2011/08/27 13:17:09, brainman wrote: > ...
12 years, 7 months ago (2011-08-27 14:16:08 UTC) #6
jp
http://codereview.appspot.com/4926042/diff/11001/src/pkg/runtime/windows/386/sys.s File src/pkg/runtime/windows/386/sys.s (right): http://codereview.appspot.com/4926042/diff/11001/src/pkg/runtime/windows/386/sys.s#newcode26 src/pkg/runtime/windows/386/sys.s:26: CALL AX CALL wincall_fn(DX)
12 years, 7 months ago (2011-08-27 16:49:34 UTC) #7
brainman
12 years, 7 months ago (2011-08-29 00:11:58 UTC) #8
On 2011/08/27 14:16:08, jp wrote:
> 
> I would change is to SP-relative

Why?

And I can't do it here, because if I have 4 or less args, I don't copy them to
the stack.

Alex
Sign in to reply to this message.

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