Commit Graph

53 Commits

Author SHA1 Message Date
Paul Gofman
68bfc31be4 Updated winebuild-Fake_Dlls patchset
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48410
2020-01-13 12:40:40 +03:00
Alistair Leslie-Hughes
108662b1cc Rebase against fa66c1b3011a32036b42c436320212aa3b30ae3f 2019-12-19 09:45:39 +11:00
Paul Gofman
d36d63ac84 Updated winebuild-Fake_Dlls patchset.
Fix stack alignment in x64 syscall thunks, again.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48274
2019-12-16 16:45:05 +03:00
Paul Gofman
40d020d66e Updated winebuild-Fake_Dlls patchset.
Fix stack alignment in x64 syscall thunks.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48274
2019-12-13 19:18:23 +03:00
Zebediah Figura
0c89d96edc winebuild-Fake_Dlls: Put the RET at the end of the 64-bit syscall thunk back.
I will pretend I did not see that
2019-11-06 20:15:26 -06:00
Zebediah Figura
5fbf201ea8 winebuild-Fake_Dlls: Adjust the 64-bit syscall dispatcher to return to the first "ret" instruction.
Diagnosed by David Torok: https://bugs.winehq.org/show_bug.cgi?id=47970
2019-11-06 19:06:57 -06:00
Alistair Leslie-Hughes
692d7d43e0 Rebase against e83f427a65726bfdefd2712a96f228e720c8b274 2019-09-19 08:53:36 +10:00
Alistair Leslie-Hughes
ff10ae6e74 Rebase against 480bae108c96dfe370feba2680dbefc42ef97571 2019-08-27 09:19:43 +10:00
Alistair Leslie-Hughes
2007f010ac Rebase against 5ea3a044b83c4cd55a3c647f5e80511a85b9f536 2019-08-20 08:39:18 +10:00
Alistair Leslie-Hughes
79ed5e86aa Rebase against 07afb240a87d097c83ca5263c61145a170894a22 2019-06-22 11:06:58 +10:00
Zebediah Figura
968a9068f4 winebuild-Fake_Dlls: Also change fake DLL syscall thunks.
Thanks to Andrew Wesie.
2019-05-25 15:17:50 -05:00
Zebediah Figura
5e5b163eba winebuild-Fake_Dlls: another fixup
user_shared_data_init() copies the internal data to the external data, but at the same time kernel32 makes calls down to ntdll before this happens, so we need both of these.
2019-05-25 11:44:35 -05:00
Zebediah Figura
5bc08f5e70 winebuild-Fake_Dlls: fixup 2019-05-25 00:04:40 -05:00
Zebediah Figura
5b59788752 winebuild-Fake_Dlls: Change layout of system call thunks.
Based on patches by Fabian Maurer.
2019-05-24 19:20:28 -05:00
Alistair Leslie-Hughes
6f185a694c Rebase against 6a610a325809d47f48bc72f3a757e1a62b193ea8 2019-05-22 08:24:22 +10:00
Zebediah Figura
77ef8ff7ef Rebase against 61aea5a9879f41224022d4775cce28d28618ea89. 2019-05-17 16:51:57 -05:00
Alistair Leslie-Hughes
1773e25340 Rebase against 17056908acae1d5c7cf5d255ec232210abfe86da 2019-04-05 09:20:03 +11:00
Zebediah Figura
3a1bf0a033 Rebase against 56f34c7489cb463981e987a59aee9f8780fef7cd. 2019-03-06 22:07:08 -06:00
Alistair Leslie-Hughes
d3067e60ff Rebase against 6d35c10a7b7155dd552a3ad1a266d205e38f8765 2019-03-05 09:11:28 +11:00
Zebediah Figura
5e8beb5ff2 Rebase against 1e8f4c059befe4a026ddf5c56e81d720b35c6c2f. 2019-02-28 22:32:39 -06:00
Alistair Leslie-Hughes
7cbbfd0a9e Rebase against 3fc1180623b9a0c9fc9e16abf358b179f2eff49b 2019-02-15 11:18:02 +11:00
Alistair Leslie-Hughes
b8de62375f Rebase against 9781b5433cd4b708c0f537aa0b5608ff4157f04c 2019-02-13 11:01:29 +11:00
Alistair Leslie-Hughes
1c5f409745 Rebase against ca29ac4650f7f9a96cfaa75a7919ef007306cbbb 2019-01-29 11:02:57 +11:00
Alistair Leslie-Hughes
4beed4a313 Rebase against 9f0534301321c9192c9e3a705b2bae84a2081745 2018-10-10 10:06:27 +11:00
Zebediah Figura
eb5196c132 winebuild-Fake_Dlls: Fix __wine_syscall_dispatcher to return to the ntdll syscall thunk on i386.
Based on a patch by Andrew Wesie.

League of Legends hooks the RET instruction in some cases, so we need to
return to that frame.

Fixes https://bugs.winehq.org/show_bug.cgi?id=45573
2018-08-09 00:22:03 -05:00
Alistair Leslie-Hughes
7da7ae71d2 Added ml-patches patchset
Patches directly from the mailing list with second sign-off if
supplied.
2018-08-03 10:39:36 +10:00
Zebediah Figura
c3a5e9290e Revert "winebuild-Fake_Dlls: Get rid of dependency on ntdll-User_Shared_Data."
This reverts commit c9eaabbba9.

ntdll-User_Shared_Data touches basically everything that uses shared data.
Trying to avoid any interdependency between these two is futile.
2018-06-20 21:52:57 -05:00
Zebediah Figura
01a9cda461 Revert "winebuild-Fake_Dlls: Reorder some lines to avoid collision with ntdll-User_Shared_Data."
This reverts commit b27ebc675a.
2018-06-20 21:52:32 -05:00
Zebediah Figura
b27ebc675a winebuild-Fake_Dlls: Reorder some lines to avoid collision with ntdll-User_Shared_Data. 2018-06-20 17:45:35 -05:00
Zebediah Figura
6499b77447 winebuild-Fake_Dlls: Restore changes to krnl386.exe/wowthunk.c removed by bdf29b7cd.
"Don't know if the code modification was correct"—indeed, it was not.
2018-06-20 17:20:31 -05:00
Zebediah Figura
c9eaabbba9 winebuild-Fake_Dlls: Get rid of dependency on ntdll-User_Shared_Data.
By using the marginally documented 'SystemCall' field rather than adding our own.

Note that the SystemCall field is only 32 bits wide even on 64-bit systems, so we have to write over the SystemCallReturn field as well. Since we don't need return thunks this should be fine.
2018-06-20 17:20:31 -05:00
Zebediah Figura
ae4862e0fb Update several definition files 2018-06-19 16:29:27 -05:00
Zebediah Figura
7d1d3410c8 Rebase against 7b62a970e9ad3b4179394cf54f0232475fe2388a 2018-02-27 19:59:50 -06:00
gloriouseggroll
4f69cc1bb7 winebuild-Fake_Dlls: 0010 fix patch apply 2018-02-20 18:07:02 -05:00
Alistair Leslie-Hughes
fb385c985c
Merge pull request #25 from omega13a/patch-21
Update 0010-tools-winebuild-Add-syscall-thunks-for-64-bit.patch
2018-02-19 17:06:02 +11:00
Alistair Leslie-Hughes
167843b4f5
Merge pull request #24 from omega13a/patch-20
Update 0002-krnl386.exe16-Do-not-abuse-WOW32Reserved-field-for-1.patch
2018-02-19 17:05:03 +11:00
Brandon Amaro
02aff3e781
Update 0010-tools-winebuild-Add-syscall-thunks-for-64-bit.patch
Allows the patch to be applied
2018-02-18 14:31:58 -08:00
Brandon Amaro
bdf29b7cdc
Update 0002-krnl386.exe16-Do-not-abuse-WOW32Reserved-field-for-1.patch
Allows the patch to be applied. Don't know if the code modification was correct but the patch now will apply during installation.
2018-02-18 14:26:30 -08:00
Brandon Amaro
dcef4cecb0
Update 0001-kernel32-tests-Add-basic-tests-for-fake-dlls.patch
Allows the patch to be applied
2018-02-18 14:12:52 -08:00
Sebastian Lackner
3b068197d3 Rebase against fdac39f697e049ead215b164bfe6953269ffa7be. 2017-09-20 18:29:20 +02:00
Sebastian Lackner
467fed6501 Added patch to implement syscall thunks for 64-bit. 2017-09-07 02:11:27 +02:00
Sebastian Lackner
9f5d2cab05 Rebase against 976c2aa649a526188afd9c0647869ccc82068341. 2017-07-27 06:59:21 +02:00
Sebastian Lackner
2e99d9e465 Rebase against 4a70f67ffcc57e82c22cc349da01d3aa5db84c71. 2017-07-26 16:56:56 +02:00
Sebastian Lackner
2c12e538dd Rebase against 21763489982177f4db9e5f8cc8ccb751441f5a2e. 2017-07-25 17:24:47 +02:00
Sebastian Lackner
43f5b05fd5 Rebase against 5a61913e90e3725d08c0e1fd06ccfe936434cbcc. 2017-07-20 03:09:05 +02:00
Sebastian Lackner
d7d4fde17e winebuild-Fake_Dlls: Do not use get_alignment for .balign instructions.
Spotted by Michael Müller.
2017-05-28 21:52:48 +02:00
Sebastian Lackner
27d1ed8f59 winebuild-Fake_Dlls: Use .balign instead of .fill.
Also remove the ntdll-Interrupt-0x2e dependency, which is no longer necessary.
2017-05-26 10:07:56 +02:00
Sebastian Lackner
0a60add605 winebuild-Fake_Dlls: Merge several further improvements. 2017-05-25 21:59:41 +02:00
Sebastian Lackner
b2904214bb winebuild-Fake_Dlls: Added patch to fix relocation information in fake dlls. 2017-05-25 05:52:41 +02:00
Michael Müller
871cee39d0 winebuild-Fake_Dlls: Fill alignment with zero bytes. 2017-05-25 05:52:41 +02:00