Commit Graph

28 Commits

Author SHA1 Message Date
Zebediah Figura feeb1c7c24 include: Rename LDR_MODULE to LDR_DATA_TABLE_ENTRY.
This name is used in Microsoft's public winternl.h.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-24 10:13:39 +02:00
Alexandre Julliard 373973c9e9 krnl386: Use stricmp() instead of _strnicmp(..., -1).
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-07 14:26:19 +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 7b494f13e7 winebuild: Store wine_ldt_copy pointer in the NE header at load time.
Avoids having to import libwine from 16-bit modules.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-17 20:01:01 +02: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
Piotr Caban 6b2c2eb76d krnl386.exe16: Get rid of NE_str(n)casecmp helper.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-02 19:23:45 +02:00
Piotr Caban ea4d756cbd krnl386.exe16: Don't use strncasecmp.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-02 19:23:42 +02:00
Alexandre Julliard 25e4cfbdb3 libport: Get rid of memcpy_unaligned().
The code that uses it is no longer built on non-i386.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 19:47:02 +01:00
Martin Payne 4a8834f6ce krnl386.exe16: Shared libraries have a ".exe" rather than ".dll" extension on Windows < 3.0.
Signed-off-by: Martin Payne <development@martinpayne.me.uk>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-13 20:14:38 +01:00
Alexandre Julliard 3a2e7d1a3d krnl386.exe: Release the Win16 lock when loading a 32-bit dll. 2015-05-29 15:03:06 +09:00
Alexandre Julliard 699daa7749 krnl386: Properly handle failure to set a 16-bit LDT entry. 2014-06-18 18:34:50 +02:00
Frédéric Delanoy aaa0c692f1 krnl386.exe16: Use BOOL type where appropriate. 2013-12-11 13:02:22 +01:00
Andrew Talbot f0a7bc1308 krnl386.exe16: Constify some variables. 2011-09-12 10:07:13 +02:00
Andrew Talbot daa5f4bf15 krnl386.exe16: Constify a variable. 2011-08-23 16:53:52 +02:00
Frédéric Delanoy ca70492ab3 krnl386.exe16: Remove dead initialization (Clang). 2011-07-06 11:24:25 +02:00
Alexandre Julliard 5ce81a9dc2 krnl386: Fetch version from the PEB to avoid potentially using GetVersionEx before it's initialized. 2010-12-15 13:17:41 +01:00
Alexandre Julliard 1b2604384b krnl386.exe: Avoid using the CONTEXT86 type. 2010-10-20 18:37:09 +02:00
Alexandre Julliard 2286267aad krnl386.exe: Ignore non-resident name table if value is invalid.
Watcom C++ apparently screws this up.
2010-06-30 21:05:03 +02:00
Detlef Riekenberg 69326aa246 kernel32: Move a 16 bit related comment to krnl386. 2010-05-14 18:03:03 +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 f3696e489b krnl386.exe: Add an explicit name check to allow importing user.exe and gdi.exe even if not loaded already. 2010-02-23 13:30:52 +01:00
Alexandre Julliard 26a42f8452 winedos: Merge all of winedos back into krnl386. 2010-01-05 16:25:34 +01:00
Marcus Meissner b53b7f1ec3 krnl386.exe: Removed unused owner_exists variable (Coverity). 2010-01-04 11:49:38 +01:00
Alexandre Julliard f82ddf5e66 kernel: Get rid of support for loading old style 16-bit files. 2009-12-30 18:04:46 +01:00
Alexandre Julliard 475b7d226c kernel32: Make krnl386.exe into a stand-alone 16-bit module. 2009-12-30 17:36:14 +01:00