Commit Graph

45 Commits

Author SHA1 Message Date
Eric Pouech 551f97c707 hal: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-10 10:44:10 +01:00
Alexandre Julliard f0cd33c69e include: Add support for defining Win32 types as 'long' where possible.
Add -DWINE_NO_LONG_TYPES to modules that still have compilation
warnings with long types.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-27 20:38:22 +01:00
Alexandre Julliard d5a7d08f63 include: Add a define to enable fastcall wrappers, similar to the thiscall one.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-13 21:57:11 +02:00
Alexandre Julliard 088a787a2c makefiles: Make -mno-cygwin the default.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-20 22:45:48 +02:00
Alexandre Julliard c06ca29d4f hal: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-05 08:34:45 +02:00
Alexandre Julliard 10584d2057 include: Use the __fastcall attribute directly for the Windows build.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-16 14:07:15 +02:00
Alexandre Julliard 62fa748f23 include: Define fastcall assembly wrappers globally.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-15 19:59:33 +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 26bbbb7b73 winebuild: Use stdcall for fastcall wrappers.
This allows catching mismatched argument lists.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-01 17:48:26 +01:00
Alexandre Julliard e22fda8463 hal: Specify fastcall entry points using the appropriate spec file flag.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-28 21:37:29 +01:00
Zebediah Figura ec5edb4fc0 hal: Implement ExTryToAcquireFastMutex().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-30 18:33:48 +01:00
Zebediah Figura 3d5b2a0d87 hal: Implement plain fast mutex functions on top of APC-level ones.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-30 18:33:45 +01:00
Zebediah Figura 119b9c7039 hal: Implement plain queued spinlock functions on top of DPC-level ones.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-29 17:12:13 +01:00
Zebediah Figura 286ef48498 hal: Implement plain spinlock functions on top of DPC-level ones.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-28 18:35:45 +01:00
Zebediah Figura e834d38c77 ntoskrnl.exe: Implement IoReleaseCancelSpinLock().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-25 11:55:51 +01:00
Zebediah Figura 389b8fc393 hal: Implement KeAcquireSpinLock().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-24 20:27:12 +01:00
Zebediah Figura fa6f56b361 hal: Implement KeReleaseSpinLock().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-24 20:26:09 +01:00
Zebediah Figura b6ea5f347e hal: Limit exports to the appropriate architectures.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-24 20:26:01 +01:00
Michael Müller 02a5071674 hal: Implement KeQueryPerformanceCounter.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-28 17:24:36 +01:00
Alexandre Julliard 6d2719d3c1 hal: Mark function that are only called from assembly as hidden.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-25 11:48:40 +02:00
Austin English 362ceb2e56 ntoskrnl.exe: Add KeReleaseSpinLock stub.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-21 23:21:16 +02:00
Sebastian Lackner 83b9fdb23b ntoskrnl.exe: Add KeReleaseInStackQueuedSpinLock stub.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-07 16:33:39 +01:00
Austin English f3ccfc092b ntoskrnl.exe: Add KeAcquireInStackQueuedSpinLock stub.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-07 16:33:38 +01:00
André Hentschel 9087404a13 hal: Add WRITE_PORT_UCHAR stub.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-17 13:30:39 +09:00
Austin English e507e59bce hal: Add WRITE_PORT_ULONG stub.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-26 22:51:32 +09:00
Austin English d830f50883 hal: Add READ_PORT_UCHAR stub.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-26 22:51:31 +09:00
Austin English 3e16c3343a hal: Add READ_PORT_ULONG stub.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-24 12:03:26 +01:00
Francois Gouget 0cd1922302 hal: Remove unneeded NONAMELESSXXX directives. 2015-03-06 12:54:40 +09:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Stefan Leichter 3346d092e5 hal: Add stub for HalTranslateBusAddress. 2012-01-06 19:24:29 +01:00
Stefan Leichter bffe120f4b hal: Added stub for ExAcquireFastMutex. 2010-09-22 19:57:11 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Austin English a188b56d52 hal: Add a stub for HalGetBusDataByOffset. 2009-09-08 13:06:55 +02:00
Austin English 4eac19fe94 hal: Add stub for KeGetCurrentIrql. 2009-07-09 17:16:36 +02:00
Alexandre Julliard 34ac93b78b hal: Add appropriate stdcall decorations to assembly functions. 2009-06-15 13:42:26 +02:00
Alexander Morozov 5df31cc903 hal: Fix KfRaiseIrql declaration. 2009-03-26 16:11:53 +01:00
Hans Leidekker 152c249254 hal: Add version resource. 2008-12-16 13:59:03 +01:00
Alexander Morozov 7443e7ded7 hal: Add missing WINAPI. 2008-12-12 12:18:33 +01:00
Ricardo Filipe bad677d58a hal: Add stubs for ExAcquireFastMutex and ExReleaseFastMutex. 2008-12-11 14:28:07 +01:00
Michael Stefaniuc f142ad923a hal: Don't cast zero. 2008-12-05 12:36:11 +01:00
Francois Gouget a555658ba1 hal: Add a stub for HalGetBusData() to make 3DMark2001SE happy in WinNT mode. 2008-03-06 17:39:22 +01:00
Chris Wulff d230fd6119 hal: Added stubs for KfAquireSpinLock, KfReleaseSpinLock, KfLowerIrql, KfRaiseIrql. 2007-10-31 12:39:55 +01:00
Alexandre Julliard d2d6870284 hal: Added an initial stub. 2007-05-14 20:05:15 +02:00