summaryrefslogtreecommitdiff
path: root/src/runtime/thunk_windows.s
Commit message (Collapse)AuthorAgeFilesLines
* [dev.cc] runtime: convert assembly files for C to Go transitionRuss Cox2014-11-111-1/+2
| | | | | | | | | | | | | | | | | | | | | The main change is that #include "zasm_GOOS_GOARCH.h" is now #include "go_asm.h" and/or #include "go_tls.h". Also, because C StackGuard is now Go _StackGuard, the assembly name changes from const_StackGuard to const__StackGuard. In asm_$GOARCH.s, add new function getg, formerly implemented in C. The renamed atomics now have Go wrappers, to get escape analysis annotations right. Those wrappers are in CL 174860043. LGTM=r, aram R=r, aram CC=austin, dvyukov, golang-codereviews, iant, khr https://codereview.appspot.com/168510043
* runtime: convert syscall_windows.c to GoRuss Cox2014-09-141-0/+30
This is necessary because syscall.Syscall blocks, and the garbage collector needs to be able to scan that frame while it is blocked, and C frames have no garbage collection information. Windows builders are broken now due to this problem: http://build.golang.org/log/152ca9a4be6783d3a8bf6e2f5b9fc265089728b6 LGTM=alex.brainman R=alex.brainman CC=golang-codereviews https://codereview.appspot.com/144830043