aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/runtime.c
diff options
context:
space:
mode:
authorKen Thompson <ken@golang.org>2008-07-09 11:35:26 -0700
committerKen Thompson <ken@golang.org>2008-07-09 11:35:26 -0700
commit7b454bb1d92fcc70f7cc60454e74e7c62547462c (patch)
tree0175adb2baf3a95cfd6e54f0d2342016fa2a4ca9 /src/runtime/runtime.c
parent1e9adf82289d15dd53141f345f43b1611d36f763 (diff)
downloadgo-7b454bb1d92fcc70f7cc60454e74e7c62547462c.tar.xz
defined external registers g and m
SVN=126521
Diffstat (limited to 'src/runtime/runtime.c')
-rw-r--r--src/runtime/runtime.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/runtime/runtime.c b/src/runtime/runtime.c
index ea6925d100..8a94f402c0 100644
--- a/src/runtime/runtime.c
+++ b/src/runtime/runtime.c
@@ -571,9 +571,14 @@ check(void)
initsig();
}
+extern register u;
+uint32 a;
+
void
_newproc(byte* fn, int32 siz, byte* args)
{
+ a = u;
+
prints("_newproc fn=");
sys·printpointer(fn);
prints("; siz=");