From 3a0df4c451b1db1eb8ab178d4cd2522496bc892d Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Thu, 4 Jun 2009 11:16:03 -0700 Subject: 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 --- src/runtime/runtime.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/runtime/runtime.h') 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; -- cgit v1.3