]> Cypherpunks repositories - gostls13.git/commit
runtime: make onM and mcall take Go func values
authorRuss Cox <rsc@golang.org>
Wed, 3 Sep 2014 15:35:22 +0000 (11:35 -0400)
committerRuss Cox <rsc@golang.org>
Wed, 3 Sep 2014 15:35:22 +0000 (11:35 -0400)
commit012ceed914a24470207d602deeda3d6642787b4c
tree19df2c9f42be35852034d67b010d98ca923d9123
parent7ba41e99728d9a4545361ddfd834a473b424bbb6
runtime: make onM and mcall take Go func values

This gives them correct types in Go and also makes it
possible to use them to run Go code on an m stack.

LGTM=iant
R=golang-codereviews, dave, iant
CC=dvyukov, golang-codereviews, khr, r
https://golang.org/cl/137970044
18 files changed:
src/pkg/runtime/asm_386.s
src/pkg/runtime/asm_amd64.s
src/pkg/runtime/asm_amd64p32.s
src/pkg/runtime/asm_arm.s
src/pkg/runtime/export_test.go
src/pkg/runtime/heapdump.c
src/pkg/runtime/malloc.go
src/pkg/runtime/mcache.c
src/pkg/runtime/mgc0.c
src/pkg/runtime/mgc0.go
src/pkg/runtime/mheap.c
src/pkg/runtime/panic.c
src/pkg/runtime/proc.c
src/pkg/runtime/proc.go
src/pkg/runtime/rdebug.go
src/pkg/runtime/runtime.h
src/pkg/runtime/sigqueue.go
src/pkg/runtime/stubs.go