Commit Graph

158 Commits

Author SHA1 Message Date
Alexandre Julliard 0995117b50 include: Get rid of ALLOW_UNALIGNED_ACCESS.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-30 12:37:27 +02:00
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 fbbad0f10a makefiles: Always build 16-bit modules with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-02 11:09: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 9d588819fe ntdll: Export the LDT copy from ntdll instead of libwine.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-01 23:00:45 +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 a02d2773be krnl386: Reimplement LDT support using NtSetLdtEntries().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-01 22:55:24 +02:00
Alexandre Julliard 73dad192b4 krnl386: Avoid using toupperW().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-01 10:30:21 +02:00
Alexandre Julliard d637640f9a krnl386: Get rid of DOS parallel port I/O support.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-26 18:34:50 +01:00
Alexandre Julliard 61ad36fdc9 krnl386: Return a handle to the vxd file itself instead of creating a dummy file.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-26 18:34:49 +01:00
Alexandre Julliard 7b10b02411 krnl386: Get rid of DOS SCSI ioctl support.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-26 18:34:49 +01:00
Alexandre Julliard 88746a5597 krnl386: Get rid of DOS direct I/O support.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-26 18:34:49 +01:00
Alexandre Julliard 14091b19ae krnl386: Get rid of DOS DMA support.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-25 19:23:20 +01:00
Alexandre Julliard a432ce86a7 krnl386: Get rid of DOS Soundblaster support.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-25 19:23:14 +01:00
Alexandre Julliard 7f2aef0506 krnl386: Get rid of DOS floppy disk support.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-25 19:23:09 +01:00
Alexandre Julliard d94a4e46c1 krnl386: Get rid of DOS EMS support.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-25 19:23:05 +01:00
Alexandre Julliard 88cc1fb8b4 krnl386: Get rid of DOS UMB support.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-25 19:23:00 +01: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 e5590cbe6a toolhelp: Avoid using libwine functions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-21 18:08:36 +02:00
Alexandre Julliard 0d7d0427d0 user.exe: Avoid using libwine functions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-21 18:08:36 +02:00
Alexandre Julliard a23c20eee1 include: Don't allow using wine/library.h with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-17 20:01:01 +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
Alexandre Julliard d5a372abbb include: Move inline assembly definitions to a new wine/asm.h header.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-14 13:45:07 +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
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
Lass Safin e61d7bbfbc krnl386.exe: Add comment explaining what ZeroBits argument of NtMapViewOfSection is for.
Signed-off-by: Lass Safin <las@protonmail.ch>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-19 19:33:52 +01: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
Michael Stefaniuc b45f948826 krnl386.exe16: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 09:38:59 +02:00
Michael Stefaniuc 38ba364cc4 krnl386.exe16: Avoid ARRAY_SIZE-like macros.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-06 19:44:26 +02:00
Alexandre Julliard 3b6af70734 krnl386: GetCodeHandle returns a DWORD.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-23 19:24:01 +01:00
Francois Gouget 77a32d5e4a krnl386.exe16: Make a couple of functions static.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-22 21:46:27 +01:00
Francois Gouget a52b257d56 krnl386.exe16: Avoid the DOSVM_HardwareInterruptPM() forward declaration.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-22 21:46:27 +01:00
Alexandre Julliard 526b245237 krnl386: Remove support for vm86 contexts.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-05 17:14:39 +01:00
Alexandre Julliard ed6bdb3c51 krnl386: Remove support for DPMI real-mode calls.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-05 17:14:39 +01:00
Alexandre Julliard 33b2d8521c krnl386: Remove support for VGA emulation.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-02 14:42:38 +01:00
Alexandre Julliard 5ec5449596 krnl386: Remove support for DOS devices and event handling.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-02 14:42:38 +01:00
Alexandre Julliard 5e0fd3403e krnl386: Remove support for running DOS executables.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-01 22:24:57 +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 1729cc05af krnl386: Use the magic format string prefix for relay traces.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-25 12:05:40 +01:00
Martin Payne 5ec4d1be97 user.exe16: Support Windows 2 menus.
Signed-off-by: Martin Payne <development@martinpayne.me.uk>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-27 09:27:34 +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