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
14a51fa4
Commit
14a51fa4
authored
Apr 08, 2024
by
Paul Gofman
Committed by
Alexandre Julliard
Apr 09, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Preserve untouched parts of xstate in set_thread_wow64_context().
parent
34e49897
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
signal_x86_64.c
dlls/ntdll/unix/signal_x86_64.c
+2
-0
No files found.
dlls/ntdll/unix/signal_x86_64.c
View file @
14a51fa4
...
...
@@ -1281,9 +1281,11 @@ NTSTATUS set_thread_wow64_context( HANDLE handle, const void *ctx, ULONG size )
{
CONTEXT_EX
*
context_ex
=
(
CONTEXT_EX
*
)(
context
+
1
);
XSAVE_AREA_HEADER
*
xs
=
(
XSAVE_AREA_HEADER
*
)((
char
*
)
context_ex
+
context_ex
->
XState
.
Offset
);
UINT64
mask
=
frame
->
xstate
.
Mask
;
if
(
xstate_compaction_enabled
)
frame
->
xstate
.
CompactionMask
|=
xstate_extended_features
();
copy_xstate
(
&
frame
->
xstate
,
xs
,
xs
->
Mask
);
if
(
xs
->
CompactionMask
)
frame
->
xstate
.
Mask
|=
mask
&
~
xs
->
CompactionMask
;
frame
->
restore_flags
|=
CONTEXT_XSTATE
;
}
return
STATUS_SUCCESS
;
...
...
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