mirror of
https://github.com/rwinkhart/sys.git
synced 2026-09-05 16:47:27 -04:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user