Akihiro Sagawa
eca2bfd071
krnl386.exe: Cap GetFreeSpace value to 2GB.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46962
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-23 15:48:55 +01:00
Alexandre Julliard
4a17ca008e
krnl386.exe: Don't use wine/server.h.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-16 23:01:37 +01:00
Alexandre Julliard
584427fc89
server: Avoid redefining the DuplicateHandle() constants.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-16 21:20:47 +01: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
Alexandre Julliard
0bf52b09f2
ntdll: Update the TEB and PEB structures for newer Windows versions.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-23 23:21:08 +02:00
André Hentschel
d593be3b4c
krnl386.exe16: Simply clean a comment from master/slave.
...
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-18 19:56:43 +02: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
3e9f8c87e5
ntdll: Move the threading initialization functions to the Unix library.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-01 22:10:28 +02:00
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