Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
e6ff0e63
Commit
e6ff0e63
authored
Jul 25, 2017
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntoskrnl: Mark function that are only called from assembly as hidden.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
6d2719d3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
14 deletions
+16
-14
ntoskrnl.c
dlls/ntoskrnl.exe/ntoskrnl.c
+16
-14
No files found.
dlls/ntoskrnl.exe/ntoskrnl.c
View file @
e6ff0e63
...
@@ -1314,7 +1314,7 @@ NTSTATUS WINAPI IoCallDriver( DEVICE_OBJECT *device, IRP *irp )
...
@@ -1314,7 +1314,7 @@ NTSTATUS WINAPI IoCallDriver( DEVICE_OBJECT *device, IRP *irp )
*/
*/
#ifdef DEFINE_FASTCALL2_ENTRYPOINT
#ifdef DEFINE_FASTCALL2_ENTRYPOINT
DEFINE_FASTCALL2_ENTRYPOINT
(
IofCallDriver
)
DEFINE_FASTCALL2_ENTRYPOINT
(
IofCallDriver
)
NTSTATUS
WINAPI
__regs_IofCallDriver
(
DEVICE_OBJECT
*
device
,
IRP
*
irp
)
NTSTATUS
WINAPI
DECLSPEC_HIDDEN
__regs_IofCallDriver
(
DEVICE_OBJECT
*
device
,
IRP
*
irp
)
#else
#else
NTSTATUS
WINAPI
IofCallDriver
(
DEVICE_OBJECT
*
device
,
IRP
*
irp
)
NTSTATUS
WINAPI
IofCallDriver
(
DEVICE_OBJECT
*
device
,
IRP
*
irp
)
#endif
#endif
...
@@ -1531,7 +1531,7 @@ VOID WINAPI IoCompleteRequest( IRP *irp, UCHAR priority_boost )
...
@@ -1531,7 +1531,7 @@ VOID WINAPI IoCompleteRequest( IRP *irp, UCHAR priority_boost )
*/
*/
#ifdef DEFINE_FASTCALL2_ENTRYPOINT
#ifdef DEFINE_FASTCALL2_ENTRYPOINT
DEFINE_FASTCALL2_ENTRYPOINT
(
IofCompleteRequest
)
DEFINE_FASTCALL2_ENTRYPOINT
(
IofCompleteRequest
)
void
WINAPI
__regs_IofCompleteRequest
(
IRP
*
irp
,
UCHAR
priority_boost
)
void
WINAPI
DECLSPEC_HIDDEN
__regs_IofCompleteRequest
(
IRP
*
irp
,
UCHAR
priority_boost
)
#else
#else
void
WINAPI
IofCompleteRequest
(
IRP
*
irp
,
UCHAR
priority_boost
)
void
WINAPI
IofCompleteRequest
(
IRP
*
irp
,
UCHAR
priority_boost
)
#endif
#endif
...
@@ -1546,7 +1546,7 @@ void WINAPI IofCompleteRequest( IRP *irp, UCHAR priority_boost )
...
@@ -1546,7 +1546,7 @@ void WINAPI IofCompleteRequest( IRP *irp, UCHAR priority_boost )
*/
*/
#ifdef DEFINE_FASTCALL3_ENTRYPOINT
#ifdef DEFINE_FASTCALL3_ENTRYPOINT
DEFINE_FASTCALL3_ENTRYPOINT
(
NTOSKRNL_InterlockedCompareExchange
)
DEFINE_FASTCALL3_ENTRYPOINT
(
NTOSKRNL_InterlockedCompareExchange
)
LONG
WINAPI
__regs_NTOSKRNL_InterlockedCompareExchange
(
LONG
volatile
*
dest
,
LONG
xchg
,
LONG
compare
)
LONG
WINAPI
DECLSPEC_HIDDEN
__regs_NTOSKRNL_InterlockedCompareExchange
(
LONG
volatile
*
dest
,
LONG
xchg
,
LONG
compare
)
#else
#else
LONG
WINAPI
NTOSKRNL_InterlockedCompareExchange
(
LONG
volatile
*
dest
,
LONG
xchg
,
LONG
compare
)
LONG
WINAPI
NTOSKRNL_InterlockedCompareExchange
(
LONG
volatile
*
dest
,
LONG
xchg
,
LONG
compare
)
#endif
#endif
...
@@ -1560,7 +1560,7 @@ LONG WINAPI NTOSKRNL_InterlockedCompareExchange( LONG volatile *dest, LONG xchg,
...
@@ -1560,7 +1560,7 @@ LONG WINAPI NTOSKRNL_InterlockedCompareExchange( LONG volatile *dest, LONG xchg,
*/
*/
#ifdef DEFINE_FASTCALL1_ENTRYPOINT
#ifdef DEFINE_FASTCALL1_ENTRYPOINT
DEFINE_FASTCALL1_ENTRYPOINT
(
NTOSKRNL_InterlockedDecrement
)
DEFINE_FASTCALL1_ENTRYPOINT
(
NTOSKRNL_InterlockedDecrement
)
LONG
WINAPI
__regs_NTOSKRNL_InterlockedDecrement
(
LONG
volatile
*
dest
)
LONG
WINAPI
DECLSPEC_HIDDEN
__regs_NTOSKRNL_InterlockedDecrement
(
LONG
volatile
*
dest
)
#else
#else
LONG
WINAPI
NTOSKRNL_InterlockedDecrement
(
LONG
volatile
*
dest
)
LONG
WINAPI
NTOSKRNL_InterlockedDecrement
(
LONG
volatile
*
dest
)
#endif
#endif
...
@@ -1574,7 +1574,7 @@ LONG WINAPI NTOSKRNL_InterlockedDecrement( LONG volatile *dest )
...
@@ -1574,7 +1574,7 @@ LONG WINAPI NTOSKRNL_InterlockedDecrement( LONG volatile *dest )
*/
*/
#ifdef DEFINE_FASTCALL2_ENTRYPOINT
#ifdef DEFINE_FASTCALL2_ENTRYPOINT
DEFINE_FASTCALL2_ENTRYPOINT
(
NTOSKRNL_InterlockedExchange
)
DEFINE_FASTCALL2_ENTRYPOINT
(
NTOSKRNL_InterlockedExchange
)
LONG
WINAPI
__regs_NTOSKRNL_InterlockedExchange
(
LONG
volatile
*
dest
,
LONG
val
)
LONG
WINAPI
DECLSPEC_HIDDEN
__regs_NTOSKRNL_InterlockedExchange
(
LONG
volatile
*
dest
,
LONG
val
)
#else
#else
LONG
WINAPI
NTOSKRNL_InterlockedExchange
(
LONG
volatile
*
dest
,
LONG
val
)
LONG
WINAPI
NTOSKRNL_InterlockedExchange
(
LONG
volatile
*
dest
,
LONG
val
)
#endif
#endif
...
@@ -1588,7 +1588,7 @@ LONG WINAPI NTOSKRNL_InterlockedExchange( LONG volatile *dest, LONG val )
...
@@ -1588,7 +1588,7 @@ LONG WINAPI NTOSKRNL_InterlockedExchange( LONG volatile *dest, LONG val )
*/
*/
#ifdef DEFINE_FASTCALL2_ENTRYPOINT
#ifdef DEFINE_FASTCALL2_ENTRYPOINT
DEFINE_FASTCALL2_ENTRYPOINT
(
NTOSKRNL_InterlockedExchangeAdd
)
DEFINE_FASTCALL2_ENTRYPOINT
(
NTOSKRNL_InterlockedExchangeAdd
)
LONG
WINAPI
__regs_NTOSKRNL_InterlockedExchangeAdd
(
LONG
volatile
*
dest
,
LONG
incr
)
LONG
WINAPI
DECLSPEC_HIDDEN
__regs_NTOSKRNL_InterlockedExchangeAdd
(
LONG
volatile
*
dest
,
LONG
incr
)
#else
#else
LONG
WINAPI
NTOSKRNL_InterlockedExchangeAdd
(
LONG
volatile
*
dest
,
LONG
incr
)
LONG
WINAPI
NTOSKRNL_InterlockedExchangeAdd
(
LONG
volatile
*
dest
,
LONG
incr
)
#endif
#endif
...
@@ -1602,7 +1602,7 @@ LONG WINAPI NTOSKRNL_InterlockedExchangeAdd( LONG volatile *dest, LONG incr )
...
@@ -1602,7 +1602,7 @@ LONG WINAPI NTOSKRNL_InterlockedExchangeAdd( LONG volatile *dest, LONG incr )
*/
*/
#ifdef DEFINE_FASTCALL1_ENTRYPOINT
#ifdef DEFINE_FASTCALL1_ENTRYPOINT
DEFINE_FASTCALL1_ENTRYPOINT
(
NTOSKRNL_InterlockedIncrement
)
DEFINE_FASTCALL1_ENTRYPOINT
(
NTOSKRNL_InterlockedIncrement
)
LONG
WINAPI
__regs_NTOSKRNL_InterlockedIncrement
(
LONG
volatile
*
dest
)
LONG
WINAPI
DECLSPEC_HIDDEN
__regs_NTOSKRNL_InterlockedIncrement
(
LONG
volatile
*
dest
)
#else
#else
LONG
WINAPI
NTOSKRNL_InterlockedIncrement
(
LONG
volatile
*
dest
)
LONG
WINAPI
NTOSKRNL_InterlockedIncrement
(
LONG
volatile
*
dest
)
#endif
#endif
...
@@ -1616,7 +1616,7 @@ LONG WINAPI NTOSKRNL_InterlockedIncrement( LONG volatile *dest )
...
@@ -1616,7 +1616,7 @@ LONG WINAPI NTOSKRNL_InterlockedIncrement( LONG volatile *dest )
*/
*/
#ifdef DEFINE_FASTCALL1_ENTRYPOINT
#ifdef DEFINE_FASTCALL1_ENTRYPOINT
DEFINE_FASTCALL1_ENTRYPOINT
(
NTOSKRNL_InterlockedPopEntrySList
)
DEFINE_FASTCALL1_ENTRYPOINT
(
NTOSKRNL_InterlockedPopEntrySList
)
PSLIST_ENTRY
WINAPI
__regs_NTOSKRNL_InterlockedPopEntrySList
(
PSLIST_HEADER
list
)
PSLIST_ENTRY
WINAPI
DECLSPEC_HIDDEN
__regs_NTOSKRNL_InterlockedPopEntrySList
(
PSLIST_HEADER
list
)
#else
#else
PSLIST_ENTRY
WINAPI
NTOSKRNL_InterlockedPopEntrySList
(
PSLIST_HEADER
list
)
PSLIST_ENTRY
WINAPI
NTOSKRNL_InterlockedPopEntrySList
(
PSLIST_HEADER
list
)
#endif
#endif
...
@@ -1630,7 +1630,8 @@ PSLIST_ENTRY WINAPI NTOSKRNL_InterlockedPopEntrySList( PSLIST_HEADER list )
...
@@ -1630,7 +1630,8 @@ PSLIST_ENTRY WINAPI NTOSKRNL_InterlockedPopEntrySList( PSLIST_HEADER list )
*/
*/
#ifdef DEFINE_FASTCALL2_ENTRYPOINT
#ifdef DEFINE_FASTCALL2_ENTRYPOINT
DEFINE_FASTCALL2_ENTRYPOINT
(
NTOSKRNL_InterlockedPushEntrySList
)
DEFINE_FASTCALL2_ENTRYPOINT
(
NTOSKRNL_InterlockedPushEntrySList
)
PSLIST_ENTRY
WINAPI
__regs_NTOSKRNL_InterlockedPushEntrySList
(
PSLIST_HEADER
list
,
PSLIST_ENTRY
entry
)
PSLIST_ENTRY
WINAPI
DECLSPEC_HIDDEN
__regs_NTOSKRNL_InterlockedPushEntrySList
(
PSLIST_HEADER
list
,
PSLIST_ENTRY
entry
)
#else
#else
PSLIST_ENTRY
WINAPI
NTOSKRNL_InterlockedPushEntrySList
(
PSLIST_HEADER
list
,
PSLIST_ENTRY
entry
)
PSLIST_ENTRY
WINAPI
NTOSKRNL_InterlockedPushEntrySList
(
PSLIST_HEADER
list
,
PSLIST_ENTRY
entry
)
#endif
#endif
...
@@ -2272,7 +2273,7 @@ void WINAPI ObDereferenceObject( void *obj )
...
@@ -2272,7 +2273,7 @@ void WINAPI ObDereferenceObject( void *obj )
*/
*/
#ifdef DEFINE_FASTCALL1_ENTRYPOINT
#ifdef DEFINE_FASTCALL1_ENTRYPOINT
DEFINE_FASTCALL1_ENTRYPOINT
(
ObfReferenceObject
)
DEFINE_FASTCALL1_ENTRYPOINT
(
ObfReferenceObject
)
void
WINAPI
__regs_ObfReferenceObject
(
void
*
obj
)
void
WINAPI
DECLSPEC_HIDDEN
__regs_ObfReferenceObject
(
void
*
obj
)
#else
#else
void
WINAPI
ObfReferenceObject
(
void
*
obj
)
void
WINAPI
ObfReferenceObject
(
void
*
obj
)
#endif
#endif
...
@@ -2286,7 +2287,7 @@ void WINAPI ObfReferenceObject( void *obj )
...
@@ -2286,7 +2287,7 @@ void WINAPI ObfReferenceObject( void *obj )
*/
*/
#ifdef DEFINE_FASTCALL1_ENTRYPOINT
#ifdef DEFINE_FASTCALL1_ENTRYPOINT
DEFINE_FASTCALL1_ENTRYPOINT
(
ObfDereferenceObject
)
DEFINE_FASTCALL1_ENTRYPOINT
(
ObfDereferenceObject
)
void
WINAPI
__regs_ObfDereferenceObject
(
void
*
obj
)
void
WINAPI
DECLSPEC_HIDDEN
__regs_ObfDereferenceObject
(
void
*
obj
)
#else
#else
void
WINAPI
ObfDereferenceObject
(
void
*
obj
)
void
WINAPI
ObfDereferenceObject
(
void
*
obj
)
#endif
#endif
...
@@ -2685,7 +2686,7 @@ PLIST_ENTRY WINAPI ExInterlockedRemoveHeadList(PLIST_ENTRY head, PKSPIN_LOCK loc
...
@@ -2685,7 +2686,7 @@ PLIST_ENTRY WINAPI ExInterlockedRemoveHeadList(PLIST_ENTRY head, PKSPIN_LOCK loc
*/
*/
#ifdef DEFINE_FASTCALL2_ENTRYPOINT
#ifdef DEFINE_FASTCALL2_ENTRYPOINT
DEFINE_FASTCALL2_ENTRYPOINT
(
ExfInterlockedRemoveHeadList
)
DEFINE_FASTCALL2_ENTRYPOINT
(
ExfInterlockedRemoveHeadList
)
PLIST_ENTRY
WINAPI
__regs_ExfInterlockedRemoveHeadList
(
PLIST_ENTRY
head
,
PKSPIN_LOCK
lock
)
PLIST_ENTRY
WINAPI
DECLSPEC_HIDDEN
__regs_ExfInterlockedRemoveHeadList
(
PLIST_ENTRY
head
,
PKSPIN_LOCK
lock
)
#else
#else
PLIST_ENTRY
WINAPI
ExfInterlockedRemoveHeadList
(
PLIST_ENTRY
head
,
PKSPIN_LOCK
lock
)
PLIST_ENTRY
WINAPI
ExfInterlockedRemoveHeadList
(
PLIST_ENTRY
head
,
PKSPIN_LOCK
lock
)
#endif
#endif
...
@@ -3222,7 +3223,8 @@ VOID WINAPI KeClearEvent(PRKEVENT event)
...
@@ -3222,7 +3223,8 @@ VOID WINAPI KeClearEvent(PRKEVENT event)
*/
*/
#ifdef DEFINE_FASTCALL2_ENTRYPOINT
#ifdef DEFINE_FASTCALL2_ENTRYPOINT
DEFINE_FASTCALL2_ENTRYPOINT
(
KeAcquireInStackQueuedSpinLock
)
DEFINE_FASTCALL2_ENTRYPOINT
(
KeAcquireInStackQueuedSpinLock
)
void
WINAPI
__regs_KeAcquireInStackQueuedSpinLock
(
KSPIN_LOCK
*
spinlock
,
KLOCK_QUEUE_HANDLE
*
handle
)
void
WINAPI
DECLSPEC_HIDDEN
__regs_KeAcquireInStackQueuedSpinLock
(
KSPIN_LOCK
*
spinlock
,
KLOCK_QUEUE_HANDLE
*
handle
)
#else
#else
void
WINAPI
KeAcquireInStackQueuedSpinLock
(
KSPIN_LOCK
*
spinlock
,
KLOCK_QUEUE_HANDLE
*
handle
)
void
WINAPI
KeAcquireInStackQueuedSpinLock
(
KSPIN_LOCK
*
spinlock
,
KLOCK_QUEUE_HANDLE
*
handle
)
#endif
#endif
...
@@ -3235,7 +3237,7 @@ void WINAPI KeAcquireInStackQueuedSpinLock( KSPIN_LOCK *spinlock, KLOCK_QUEUE_HA
...
@@ -3235,7 +3237,7 @@ void WINAPI KeAcquireInStackQueuedSpinLock( KSPIN_LOCK *spinlock, KLOCK_QUEUE_HA
*/
*/
#ifdef DEFINE_FASTCALL1_ENTRYPOINT
#ifdef DEFINE_FASTCALL1_ENTRYPOINT
DEFINE_FASTCALL1_ENTRYPOINT
(
KeReleaseInStackQueuedSpinLock
)
DEFINE_FASTCALL1_ENTRYPOINT
(
KeReleaseInStackQueuedSpinLock
)
void
WINAPI
__regs_KeReleaseInStackQueuedSpinLock
(
KLOCK_QUEUE_HANDLE
*
handle
)
void
WINAPI
DECLSPEC_HIDDEN
__regs_KeReleaseInStackQueuedSpinLock
(
KLOCK_QUEUE_HANDLE
*
handle
)
#else
#else
void
WINAPI
KeReleaseInStackQueuedSpinLock
(
KLOCK_QUEUE_HANDLE
*
handle
)
void
WINAPI
KeReleaseInStackQueuedSpinLock
(
KLOCK_QUEUE_HANDLE
*
handle
)
#endif
#endif
...
...
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