Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
718068c4
Commit
718068c4
authored
Jun 19, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Disallow fastcall functions in Unix libraries.
parent
0a07f598
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
13 deletions
+18
-13
wdm.h
include/ddk/wdm.h
+17
-12
windef.h
include/windef.h
+1
-1
No files found.
include/ddk/wdm.h
View file @
718068c4
...
...
@@ -1665,6 +1665,8 @@ static inline void IoCopyCurrentIrpStackLocationToNext(IRP *irp)
#define SYMBOLIC_LINK_QUERY 0x0001
#define SYMBOLIC_LINK_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED | 0x1)
#ifndef WINE_UNIX_LIB
NTSTATUS
WINAPI
DbgQueryDebugFilterState
(
ULONG
,
ULONG
);
void
FASTCALL
ExAcquireFastMutex
(
FAST_MUTEX
*
);
...
...
@@ -1775,10 +1777,6 @@ void WINAPI KeInitializeDpc(KDPC*,PKDEFERRED_ROUTINE,void*);
void
WINAPI
KeInitializeEvent
(
PRKEVENT
,
EVENT_TYPE
,
BOOLEAN
);
void
WINAPI
KeInitializeMutex
(
PRKMUTEX
,
ULONG
);
void
WINAPI
KeInitializeSemaphore
(
PRKSEMAPHORE
,
LONG
,
LONG
);
static
FORCEINLINE
void
WINAPI
KeInitializeSpinLock
(
KSPIN_LOCK
*
lock
)
{
*
lock
=
0
;
}
void
WINAPI
KeInitializeTimerEx
(
PKTIMER
,
TIMER_TYPE
);
void
WINAPI
KeInitializeTimer
(
KTIMER
*
);
BOOLEAN
WINAPI
KeInsertDeviceQueue
(
KDEVICE_QUEUE
*
,
KDEVICE_QUEUE_ENTRY
*
);
...
...
@@ -1821,14 +1819,6 @@ MM_SYSTEMSIZE WINAPI MmQuerySystemSize(void);
void
WINAPI
MmProbeAndLockPages
(
PMDLX
,
KPROCESSOR_MODE
,
LOCK_OPERATION
);
void
WINAPI
MmUnmapLockedPages
(
void
*
,
PMDL
);
static
inline
void
*
MmGetSystemAddressForMdlSafe
(
MDL
*
mdl
,
ULONG
priority
)
{
if
(
mdl
->
MdlFlags
&
(
MDL_MAPPED_TO_SYSTEM_VA
|
MDL_SOURCE_IS_NONPAGED_POOL
))
return
mdl
->
MappedSystemVa
;
else
return
MmMapLockedPagesSpecifyCache
(
mdl
,
KernelMode
,
MmCached
,
NULL
,
FALSE
,
priority
);
}
void
FASTCALL
ObfReferenceObject
(
void
*
);
void
WINAPI
ObDereferenceObject
(
void
*
);
USHORT
WINAPI
ObGetFilterVersion
(
void
);
...
...
@@ -1972,4 +1962,19 @@ static inline void ExInitializeFastMutex( FAST_MUTEX *mutex )
KeInitializeEvent
(
&
mutex
->
Event
,
SynchronizationEvent
,
FALSE
);
}
static
FORCEINLINE
void
WINAPI
KeInitializeSpinLock
(
KSPIN_LOCK
*
lock
)
{
*
lock
=
0
;
}
static
inline
void
*
MmGetSystemAddressForMdlSafe
(
MDL
*
mdl
,
ULONG
priority
)
{
if
(
mdl
->
MdlFlags
&
(
MDL_MAPPED_TO_SYSTEM_VA
|
MDL_SOURCE_IS_NONPAGED_POOL
))
return
mdl
->
MappedSystemVa
;
else
return
MmMapLockedPagesSpecifyCache
(
mdl
,
KernelMode
,
MmCached
,
NULL
,
FALSE
,
priority
);
}
#endif
/* WINE_UNIX_LIB */
#endif
include/windef.h
View file @
718068c4
...
...
@@ -59,7 +59,7 @@ extern "C" {
#ifdef WINE_UNIX_LIB
# define __stdcall
# define __cdecl
#
define
__fastcall
#
undef
__fastcall
#else
# undef __stdcall
# ifdef __i386__
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment