]> Cypherpunks repositories - gostls13.git/commit
8l, runtime: place G and M pointers relative to _tos on Plan 9, instead of hardcoded...
authorYuval Pavel Zholkover <paulzhol@gmail.com>
Fri, 11 Feb 2011 18:39:05 +0000 (13:39 -0500)
committerRuss Cox <rsc@golang.org>
Fri, 11 Feb 2011 18:39:05 +0000 (13:39 -0500)
commit7e77623120105b51f4a348d56798cb49007de029
treeb21f4f39bfb99b15a0d54d03777858a1e1261322
parentbbfad5f1cc5b8480ac41a3df7c98b5267c1a3327
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
https://golang.org/cl/3993044
src/cmd/8l/obj.c
src/cmd/8l/pass.c
src/pkg/runtime/mkasmh.sh
src/pkg/runtime/plan9/386/defs.h
src/pkg/runtime/plan9/386/sys.s
src/pkg/runtime/plan9/mem.c