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
0865c278
Commit
0865c278
authored
Apr 08, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Set the proper context flags in the signal handlers for x86_64.
parent
5316dd01
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
signal_x86_64.c
dlls/ntdll/signal_x86_64.c
+6
-1
No files found.
dlls/ntdll/signal_x86_64.c
View file @
0865c278
...
...
@@ -189,6 +189,7 @@ static inline int dispatch_signal(unsigned int sig)
*/
static
void
save_context
(
CONTEXT
*
context
,
const
SIGCONTEXT
*
sigcontext
)
{
context
->
ContextFlags
=
CONTEXT_CONTROL
|
CONTEXT_INTEGER
|
CONTEXT_SEGMENTS
;
context
->
Rax
=
RAX_sig
(
sigcontext
);
context
->
Rcx
=
RCX_sig
(
sigcontext
);
context
->
Rdx
=
RDX_sig
(
sigcontext
);
...
...
@@ -214,7 +215,11 @@ static void save_context( CONTEXT *context, const SIGCONTEXT *sigcontext )
context
->
SegEs
=
0
;
/* FIXME */
context
->
SegSs
=
0
;
/* FIXME */
context
->
MxCsr
=
0
;
/* FIXME */
if
(
FPU_sig
(
sigcontext
))
context
->
u
.
FltSave
=
*
FPU_sig
(
sigcontext
);
if
(
FPU_sig
(
sigcontext
))
{
context
->
ContextFlags
|=
CONTEXT_FLOATING_POINT
;
context
->
u
.
FltSave
=
*
FPU_sig
(
sigcontext
);
}
}
...
...
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