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
c5134b77
Commit
c5134b77
authored
May 08, 2007
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Support setting the CPU context on the current thread without segment registers.
parent
f2e30a0a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
signal_i386.c
dlls/ntdll/signal_i386.c
+11
-2
No files found.
dlls/ntdll/signal_i386.c
View file @
c5134b77
...
...
@@ -758,10 +758,19 @@ void set_cpu_context( const CONTEXT *context )
}
if
(
flags
&
CONTEXT_FULL
)
{
if
(
(
flags
&
CONTEXT_FULL
)
!=
(
CONTEXT_FULL
&
~
CONTEXT_i386
))
if
(
!
(
flags
&
CONTEXT_CONTROL
))
FIXME
(
"setting partial context (%x) not supported
\n
"
,
flags
);
else
else
if
(
flags
&
CONTEXT_SEGMENTS
)
__wine_call_from_32_restore_regs
(
context
);
else
{
CONTEXT
newcontext
=
*
context
;
newcontext
.
SegDs
=
wine_get_ds
();
newcontext
.
SegEs
=
wine_get_es
();
newcontext
.
SegFs
=
wine_get_fs
();
newcontext
.
SegGs
=
wine_get_gs
();
__wine_call_from_32_restore_regs
(
&
newcontext
);
}
}
}
...
...
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