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

Issue 3993044: code review 3993044: 8l, runtime: place G and M pointers relative to _tos on... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 4 months ago by paulzhol
Modified:
14 years, 3 months ago
Reviewers:
CC:
rsc, golang-dev
Visibility:
Public.

Description

8l, runtime: place G and M pointers relative to _tos on Plan 9, instead of hardcoded values for USTKTOP. This should allow executing both on native Plan 9 and inside 9vx.

Patch Set 1 #

Total comments: 1

Patch Set 2 : code review 3993044: 8l, runtime: place G and M pointers relative to _tos on... #

Patch Set 3 : code review 3993044: 8l, runtime: place G and M pointers relative to _tos on... #

Patch Set 4 : code review 3993044: 8l, runtime: place G and M pointers relative to _tos on... #

Patch Set 5 : diff -r 138fb74f2651 https://go.googlecode.com/hg/ #

Total comments: 5

Patch Set 6 : diff -r 138fb74f2651 https://go.googlecode.com/hg/ #

Patch Set 7 : diff -r 32e6fff7fbb3 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -20 lines) Patch
M src/cmd/8l/obj.c View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/cmd/8l/pass.c View 1 6 chunks +25 lines, -4 lines 0 comments Download
M src/pkg/runtime/mkasmh.sh View 1 chunk +3 lines, -3 lines 0 comments Download
M src/pkg/runtime/plan9/386/defs.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/pkg/runtime/plan9/386/sys.s View 1 2 3 4 5 1 chunk +3 lines, -2 lines 0 comments Download
M src/pkg/runtime/plan9/mem.c View 1 2 3 4 5 6 1 chunk +18 lines, -11 lines 0 comments Download

Messages

Total messages: 17
paulzhol
http://codereview.appspot.com/3993044/diff/1/src/pkg/runtime/plan9/386/sys.s File src/pkg/runtime/plan9/386/sys.s (right): http://codereview.appspot.com/3993044/diff/1/src/pkg/runtime/plan9/386/sys.s#newcode70 src/pkg/runtime/plan9/386/sys.s:70: // more paranoia; check that stack splitting code works ...
14 years, 4 months ago (2011-01-19 20:22:58 UTC) #1
paulzhol
Hello rsc (cc: golang-dev@googlegroups.com), I'd like you to review this change.
14 years, 4 months ago (2011-01-19 20:24:07 UTC) #2
rsc
I apologize for not getting to these code reviews earlier. Please take a look and ...
14 years, 3 months ago (2011-02-01 20:55:41 UTC) #3
paulzhol
Hi! I've modified mem.c to round addresses to page boundaries, otherwise using the old 8 ...
14 years, 3 months ago (2011-02-02 13:05:54 UTC) #4
rsc
> I've modified mem.c to round addresses to page boundaries, otherwise > using the old ...
14 years, 3 months ago (2011-02-02 20:32:46 UTC) #5
paulzhol
> That's the next CL to be checked in (3975046). I've applied it manually (I ...
14 years, 3 months ago (2011-02-02 21:43:56 UTC) #6
rsc
On 2011/02/02 21:43:56, paulzhol wrote: > > That's the next CL to be checked in ...
14 years, 3 months ago (2011-02-03 04:03:41 UTC) #7
paulzhol
On 2011/02/03 04:03:41, rsc wrote: > Fixed in the submitted CL. sieve is running again ...
14 years, 3 months ago (2011-02-03 09:04:29 UTC) #8
rsc
Let's get native Plan 9 working. I never cease to be amazed that 9vx works ...
14 years, 3 months ago (2011-02-03 19:33:42 UTC) #9
paulzhol
On 2011/02/03 19:33:42, rsc wrote: > Let's get native Plan 9 working. > > I ...
14 years, 3 months ago (2011-02-03 19:46:38 UTC) #10
rsc
http://codereview.appspot.com/3993044/diff/18008/src/pkg/runtime/plan9/386/sys.s File src/pkg/runtime/plan9/386/sys.s (right): http://codereview.appspot.com/3993044/diff/18008/src/pkg/runtime/plan9/386/sys.s#newcode71 src/pkg/runtime/plan9/386/sys.s:71: // PUSHAL Why is this commented out? http://codereview.appspot.com/3993044/diff/18008/src/pkg/runtime/plan9/mem.c File ...
14 years, 3 months ago (2011-02-03 19:58:34 UTC) #11
rsc
> As a side note, what are the chances of > http://codereview.appspot.com/3816043/ getting merged in ...
14 years, 3 months ago (2011-02-03 19:59:40 UTC) #12
paulzhol
http://codereview.appspot.com/3993044/diff/18008/src/pkg/runtime/plan9/386/sys.s File src/pkg/runtime/plan9/386/sys.s (right): http://codereview.appspot.com/3993044/diff/18008/src/pkg/runtime/plan9/386/sys.s#newcode71 src/pkg/runtime/plan9/386/sys.s:71: // PUSHAL On 2011/02/03 19:58:34, rsc wrote: > Why ...
14 years, 3 months ago (2011-02-03 20:14:31 UTC) #13
paulzhol
http://codereview.appspot.com/3993044/diff/18008/src/pkg/runtime/plan9/mem.c File src/pkg/runtime/plan9/mem.c (right): http://codereview.appspot.com/3993044/diff/18008/src/pkg/runtime/plan9/mem.c#newcode56 src/pkg/runtime/plan9/mem.c:56: while((p = runtime·SysAlloc((byte*)v-(byte*)p)) < v) err.. sorry, I don't ...
14 years, 3 months ago (2011-02-03 22:54:57 UTC) #14
paulzhol
Recent allocator changes make v a hint for SysReserve, which in turn can just call ...
14 years, 3 months ago (2011-02-10 21:32:36 UTC) #15
rsc
LGTM
14 years, 3 months ago (2011-02-11 18:39:03 UTC) #16
rsc
14 years, 3 months ago (2011-02-11 18:39:07 UTC) #17
*** Submitted as 1d10645da15a ***

8l, runtime: place G and M pointers relative to _tos on Plan 9, instead of
hardcoded values for USTKTOP.

This should allow executing both on native Plan 9 and inside 9vx.

R=rsc
CC=golang-dev
http://codereview.appspot.com/3993044

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