aboutsummaryrefslogtreecommitdiff
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
commit3a0df4c451b1db1eb8ab178d4cd2522496bc892d (patch)
tree93ccc52d7ec8faec7c4604dee258e7bbc7d8165e /src/runtime/runtime.h
parentf51ca384eba74692315b51b1db99d412f4472e17 (diff)
downloadgo-3a0df4c451b1db1eb8ab178d4cd2522496bc892d.tar.xz
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 8b92c446c8..8c20c1d021 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;