Commit Graph

14 Commits

Author SHA1 Message Date
Alexandre Julliard 96508ad686 Moved return value handling to the individual relay thunks so that we
only need one version of wine_call_from_16.
Patch the wine_call_from_16 address along with the cs value directly
in the 16-bit code segment to avoid the need for special magic in the
import thunks.
2005-09-18 12:25:22 +00:00
Alexandre Julliard 6c6a5729d9 Don't try to initialize the 16-bit thunking code if 16-bit support is
disabled.
2005-08-27 10:18:03 +00:00
Alexandre Julliard 2b33634018 Intercept functions for 16-bit relay debugging by patching the
CALLFROM16 table instead of having the wine_call_from_16 functions
call out the relay functions explicitly.
2005-07-05 12:52:07 +00:00
Alexandre Julliard 1a0f2863db Moved all 16-bit relay code to the text section.
Changed a few symbol names for better consistency.
2005-07-03 11:28:44 +00:00
Alexandre Julliard 71914125ce Moved most of the implementation of CALL32_CBClient(Ex) to the C
code.
2005-07-01 16:24:32 +00:00
Alexandre Julliard f51496a232 Remove some i386 ifdefs for 16-bit entry points since they are no
longer used by default on other platforms anyway.
2005-06-25 18:34:00 +00:00
Alexandre Julliard 5c819a9895 Support unloading 16-bit builtin modules, and properly manage the
refcount of the 32-bit owner module.
2005-05-23 12:15:26 +00:00
Alexandre Julliard 70d0439905 Moved the generated code segment for 16-bit builtins inside the module
structure.
Get rid of the BUILTIN16_DESCRIPTOR structure and directly register
the MZ header instead.
2005-05-23 12:07:15 +00:00
Alexandre Julliard 8eb1630ce1 Use a memory mapping instead of file I/O to load 16-bit modules. 2005-05-19 12:05:28 +00:00
Alexandre Julliard b3e0a032ce Moved entry point definitions from module.h to kernel16_private.h. 2005-05-18 18:27:54 +00:00
Alexandre Julliard 964b7fb14d Changed SNOOP16_RegisterDLL to take a module handle instead of
pointer. Moved snoop function prototypes to kernel16_private.h.
2005-05-18 09:58:43 +00:00
Alexandre Julliard 4417574d2c Renamed some fields in NE_MODULE to use the same name as in the
exported IMAGE_OS2_HEADER structure.
2005-05-17 14:36:09 +00:00
Alexandre Julliard e8a23c9572 Use the exported IMAGE_OS2_HEADER to generate the module header in the
spec file, and moved the NE_MODULE structure definition to
kernel16_private.h.
2005-05-17 10:21:29 +00:00
Alexandre Julliard 4776085c9c Moved a bunch of definitions out of module.h into a new
kernel16_private.h header.
2005-05-16 19:44:54 +00:00