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
1215c2a6
Commit
1215c2a6
authored
May 26, 2021
by
Jacek Caban
Committed by
Alexandre Julliard
May 26, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Use DECLSPEC_HIDDEN for a few more symbols.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
4e789932
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
5 deletions
+14
-5
signal_i386.c
dlls/ntdll/unix/signal_i386.c
+5
-2
signal_x86_64.c
dlls/ntdll/unix/signal_x86_64.c
+8
-2
system.c
dlls/ntdll/unix/system.c
+1
-1
No files found.
dlls/ntdll/unix/signal_i386.c
View file @
1215c2a6
...
...
@@ -638,7 +638,7 @@ static int solaris_sigaction( int sig, const struct sigaction *new, struct sigac
#endif
extern
void
clear_alignment_flag
(
void
);
extern
void
clear_alignment_flag
(
void
)
DECLSPEC_HIDDEN
;
__ASM_GLOBAL_FUNC
(
clear_alignment_flag
,
"pushfl
\n\t
"
__ASM_CFI
(
".cfi_adjust_cfa_offset 4
\n\t
"
)
...
...
@@ -914,7 +914,7 @@ static inline void restore_context( const struct xcontext *xcontext, ucontext_t
*
* Set the new CPU context.
*/
extern
void
set_full_cpu_context
(
void
);
extern
void
set_full_cpu_context
(
void
)
DECLSPEC_HIDDEN
;
__ASM_GLOBAL_FUNC
(
set_full_cpu_context
,
"movl %fs:0x1f8,%ecx
\n\t
"
"movl $0,%fs:0x1f8
\n\t
"
/* x86_thread_data()->syscall_frame = NULL */
...
...
@@ -1624,6 +1624,9 @@ struct apc_stack_layout
struct
apc_stack_layout
*
WINAPI
setup_user_apc_dispatcher_stack
(
CONTEXT
*
context
,
struct
apc_stack_layout
*
stack
,
void
*
arg1
,
void
*
arg2
,
void
*
arg3
,
void
*
func
,
NTSTATUS
status
)
DECLSPEC_HIDDEN
;
struct
apc_stack_layout
*
WINAPI
setup_user_apc_dispatcher_stack
(
CONTEXT
*
context
,
struct
apc_stack_layout
*
stack
,
void
*
arg1
,
void
*
arg2
,
void
*
arg3
,
void
*
func
,
NTSTATUS
status
)
{
CONTEXT
c
;
...
...
dlls/ntdll/unix/signal_x86_64.c
View file @
1215c2a6
...
...
@@ -1568,7 +1568,7 @@ static void restore_context( const struct xcontext *xcontext, ucontext_t *sigcon
*
* Set the new CPU context.
*/
extern
void
set_full_cpu_context
(
void
);
extern
void
set_full_cpu_context
(
void
)
DECLSPEC_HIDDEN
;
__ASM_GLOBAL_FUNC
(
set_full_cpu_context
,
"movq %gs:0x30,%rdx
\n\t
"
"movq 0x328(%rdx),%rsp
\n\t
"
/* amd64_thread_data()->syscall_frame */
...
...
@@ -1874,7 +1874,7 @@ NTSTATUS get_thread_wow64_context( HANDLE handle, void *ctx, ULONG size )
}
extern
void
CDECL
raise_func_trampoline
(
void
*
dispatcher
);
extern
void
CDECL
raise_func_trampoline
(
void
*
dispatcher
)
DECLSPEC_HIDDEN
;
__ASM_GLOBAL_FUNC
(
raise_func_trampoline
,
"jmpq *%r8
\n\t
"
)
...
...
@@ -1973,6 +1973,9 @@ static void setup_exception( ucontext_t *sigcontext, EXCEPTION_RECORD *rec )
*/
struct
apc_stack_layout
*
WINAPI
setup_user_apc_dispatcher_stack
(
CONTEXT
*
context
,
struct
apc_stack_layout
*
stack
,
NTSTATUS
status
)
DECLSPEC_HIDDEN
;
struct
apc_stack_layout
*
WINAPI
setup_user_apc_dispatcher_stack
(
CONTEXT
*
context
,
struct
apc_stack_layout
*
stack
,
NTSTATUS
status
)
{
CONTEXT
c
;
...
...
@@ -2053,6 +2056,9 @@ void WINAPI call_raise_user_exception_dispatcher( NTSTATUS (WINAPI *dispatcher)(
*/
struct
stack_layout
*
WINAPI
setup_user_exception_dispatcher_stack
(
EXCEPTION_RECORD
*
rec
,
CONTEXT
*
context
,
NTSTATUS
(
WINAPI
*
dispatcher
)(
EXCEPTION_RECORD
*
,
CONTEXT
*
),
struct
stack_layout
*
stack
)
DECLSPEC_HIDDEN
;
struct
stack_layout
*
WINAPI
setup_user_exception_dispatcher_stack
(
EXCEPTION_RECORD
*
rec
,
CONTEXT
*
context
,
NTSTATUS
(
WINAPI
*
dispatcher
)(
EXCEPTION_RECORD
*
,
CONTEXT
*
),
struct
stack_layout
*
stack
)
{
if
((
context
->
ContextFlags
&
CONTEXT_XSTATE
)
==
CONTEXT_XSTATE
)
...
...
dlls/ntdll/unix/system.c
View file @
1215c2a6
...
...
@@ -197,7 +197,7 @@ static inline void do_cpuid(unsigned int ax, unsigned int cx, unsigned int *p)
}
#ifdef __i386__
extern
int
have_cpuid
(
void
);
extern
int
have_cpuid
(
void
)
DECLSPEC_HIDDEN
;
__ASM_GLOBAL_FUNC
(
have_cpuid
,
"pushfl
\n\t
"
"pushfl
\n\t
"
...
...
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