go.sys/windows: grab Syscall interface from the standard syscall package

Also provide stubs to call loadlibrary and getprocaddress, which are implemented
for package syscall by runtime/syscall_windows.goc.
Should get the windows go.sys build closer to green.

LGTM=rsc
R=golang-codereviews, rsc
CC=golang-codereviews
https://golang.org/cl/126170043
This commit is contained in:
Rob Pike
2014-08-13 14:08:39 -07:00
parent 9e072b55ca
commit 7118195da3
6 changed files with 315 additions and 310 deletions
+6
View File
@@ -5,3 +5,9 @@
//
// System calls for amd64, Windows are implemented in runtime/syscall_windows.goc
//
TEXT ·getprocaddress(SB), 7, $0-32
JMP syscall·getprocaddress(SB)
TEXT ·loadlibrary(SB), 7, $0-8
JMP syscall·loadlibrary(SB)