summaryrefslogtreecommitdiff
path: root/src/runtime/runtime.h
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-06-04 11:16:03 -0700
committerRuss Cox <rsc@golang.org>2009-06-04 11:16:03 -0700
commitd335e6b92457f7d7ec302e11e34b0af0cfeb1b57 (patch)
tree93ccc52d7ec8faec7c4604dee258e7bbc7d8165e /src/runtime/runtime.h
parent1936e9ff959dfbad0e59a12baf2988797de84bac (diff)
downloadgo-d335e6b92457f7d7ec302e11e34b0af0cfeb1b57.tar.gz
more 386 runtime fixes.
can pass many tests; current stumbling block is an 8l bug. R=r DELTA=122 (83 added, 8 deleted, 31 changed) OCL=29872 CL=29876
Diffstat (limited to 'src/runtime/runtime.h')
-rw-r--r--src/runtime/runtime.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h
index 8b92c446c..8c20c1d02 100644
--- a/src/runtime/runtime.h
+++ b/src/runtime/runtime.h
@@ -168,7 +168,8 @@ struct M
uint64 procid; // for debuggers - must not move
G* gsignal; // signal-handling G - must not move
G* curg; // current running goroutine - must not move
- G* lastg; // last running goroutine - to emulate fifo
+ G* lastg; // last running goroutine - to emulate fifo - must not move
+ uint32 tls[8]; // thread-local storage (for 386 extern register) - must not move
Gobuf sched;
Gobuf morestack;
byte* moresp;