aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/go-patches/0008-runtime-allow-callback-functions-with-up-to-8-argume.patch
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-11-22 16:30:22 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2020-11-22 22:00:33 +0100
commit48ce78335a1445b01bd3cec499bdb07c2e5adfbf (patch)
tree376551baa5cc4a519e2b6829c5a7b03a6c5e2641 /go-patches/0008-runtime-allow-callback-functions-with-up-to-8-argume.patch
parentdocs: remove highlighting from cmd examples in readme (diff)
downloadwireguard-windows-48ce78335a1445b01bd3cec499bdb07c2e5adfbf.tar.xz
wireguard-windows-48ce78335a1445b01bd3cec499bdb07c2e5adfbf.zip
go-patches: add back hires windows timer patches
This adds back the high resolution timer patches, but with the addition of Alex's recent fix to branch to the old code in the event that 0x28(%gs) is zeroed out. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'go-patches/0008-runtime-allow-callback-functions-with-up-to-8-argume.patch')
-rw-r--r--go-patches/0008-runtime-allow-callback-functions-with-up-to-8-argume.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/go-patches/0008-runtime-allow-callback-functions-with-up-to-8-argume.patch b/go-patches/0008-runtime-allow-callback-functions-with-up-to-8-argume.patch
index 48188173..b0eb68f8 100644
--- a/go-patches/0008-runtime-allow-callback-functions-with-up-to-8-argume.patch
+++ b/go-patches/0008-runtime-allow-callback-functions-with-up-to-8-argume.patch
@@ -1,8 +1,8 @@
From 5a7c808cbacb8c0477395c5656c1eba3ef38cd6e Mon Sep 17 00:00:00 2001
From: "Jason A. Donenfeld" <Jason@zx2c4.com>
Date: Tue, 10 Nov 2020 21:42:36 +0100
-Subject: [PATCH 8/8] runtime: allow callback functions with up to 8 arguments
- on windows/arm
+Subject: [PATCH 08/10] runtime: allow callback functions with up to 8
+ arguments on windows/arm
Previously, windows/arm programs would abort when trying to use
functions that took callbacks with more than 4 arguments. This caused
@@ -56,5 +56,5 @@ index 256b5ff7f0..049c69ec88 100644
// uint32 tstart_stdcall(M *newm);
--
-2.29.1
+2.29.2