This website requires JavaScript.
Explore
Help
Register
Sign In
qbit
/
go
Watch
1
Star
0
Fork
0
You've already forked go
mirror of
https://github.com/golang/go
synced
2024-10-04 18:31:22 -06:00
Code
Releases
Activity
851f30136d
go
/
src
/
pkg
/
runtime
/
defs_plan9_386.h
3 lines
42 B
C
Raw
Normal View
History
Unescape
Escape
8l, runtime: initial support for Plan 9 No multiple processes/locks, managed to compile and run a hello.go (with print not fmt). Also test/sieve.go seems to run until 439 and stops with a 'throw: all goroutines are asleep - deadlock!' - just like runtime/tiny. based on Russ's suggestions at: http://groups.google.com/group/comp.os.plan9/browse_thread/thread/cfda8b82535d2d68/243777a597ec1612 Build instructions: cd src/pkg/runtime make clean && GOOS=plan9 make install this will build and install the runtime. When linking with 8l, you should pass -s to suppress symbol generation in the a.out, otherwise the generated executable will not run. This is runtime only, the porting of the toolchain has already been done: http://code.google.com/p/go-plan9/source/browse in the plan9-quanstro branch. R=rsc CC=golang-dev https://golang.org/cl/2273041
2010-10-18 10:32:55 -06:00
// nothing to see here
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
2011-02-11 11:39:05 -07:00
#
define tos_pid 48
Copy Permalink