Zebediah Figura
0a01ad0c36
krnl386: Return to CALL32_CBClient_RetAddr from CBClientThunkSL().
...
Fixes a copy-paste error which was introduced by
71914125ce
.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-04 10:59:40 +02:00
Zebediah Figura
1f3eb3996d
winebuild: Move the CALL32_CBClient[Ex] implementation to krnl386.
...
Except for the return thunk.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-04 10:59:35 +02:00
Alexandre Julliard
b636f9816f
krnl386: Move the 16-bit stack out of the WOW32Reserved field.
...
Based on a patch by Sebastian Lackner.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-26 21:31:53 +01:00
Alexandre Julliard
f87262ea99
include: Add CURRENT_SS/SP macros for 16-bit code.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-26 21:31:53 +01:00
Alexandre Julliard
6e1c296ef3
include: Make the CURRENT_STACK16 and CURRENT_DS macros available globally.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-26 21:31:53 +01:00
Vijay Kiran Kamuju
9e87c6826e
include: Add wownt16.h.
...
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-08 21:01:33 +02:00
Alexandre Julliard
024f9ebd1a
krnl386: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-02 10:55:25 +02:00
Alexandre Julliard
1acb481d29
krnl386: Avoid using the selector functions from libwine.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-02 10:55:25 +02:00
Alexandre Julliard
b544836952
krnl386: Avoid using the LDT definitions from libwine.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-01 23:00:45 +02:00
Alexandre Julliard
7b68705d3c
krnl386: Fix some calling convention mismatches.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-25 19:22:41 +01:00
Dirk Niggemann
c57483ba4d
krnl386.exe: Make CallProcEx32W16 clear CPEX_DEST_CDECL flag before looping over arguments.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48480
Signed-off-by: Dirk Niggemann <dirk.niggemann@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-05 21:34:16 +01:00
Alexandre Julliard
075e561f5c
winebuild: Don't change %fs and %gs when calling 16-bit register functions.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-17 20:00:59 +02:00
Alexandre Julliard
170bd8f361
include: Pass function name directly to the __ASM_STDCALL macro.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-16 19:00:10 +02:00
Alexandre Julliard
d708d9e611
krnl386.exe: Avoid using DPRINTF().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-08 19:33:48 +02:00
Alexandre Julliard
1b85b6cab7
krnl386: Use RtlCaptureContext and NtSetContextThread to implement register functions.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-25 12:04:46 +02:00
Alexandre Julliard
c5a35d898f
krnl386: Explicitly fetch the service argument in VxDCall.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-25 11:51:18 +02:00
Alexandre Julliard
5b71091b43
krnl386: Mark function that are only called from assembly as hidden.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-25 11:50:51 +02:00
Alexandre Julliard
f91b4bd410
krnl386: Add a simple wrapper for CommonUnimpStub instead of saving/restoring all registers.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-24 18:58:30 +02:00
Alexandre Julliard
92d5ce3c76
krnl386: Simplify a couple of register functions.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-24 18:58:30 +02:00
Frédéric Delanoy
aaa0c692f1
krnl386.exe16: Use BOOL type where appropriate.
2013-12-11 13:02:22 +01:00
Alexandre Julliard
1b2604384b
krnl386.exe: Avoid using the CONTEXT86 type.
2010-10-20 18:37:09 +02:00
Alexandre Julliard
60f364068a
krnl386.exe: Preload gdi and user when thunks are being used.
2010-03-13 17:25:49 +01:00
Alexandre Julliard
475b7d226c
kernel32: Make krnl386.exe into a stand-alone 16-bit module.
2009-12-30 17:36:14 +01:00