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
94ee2709
Commit
94ee2709
authored
Aug 12, 2020
by
Rémi Bernon
Committed by
Alexandre Julliard
Aug 12, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll/tests: Add broken FltSave results for w2008 / w8.
Signed-off-by:
Rémi Bernon
<
rbernon@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
f804d1ac
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
exception.c
dlls/ntdll/tests/exception.c
+7
-1
No files found.
dlls/ntdll/tests/exception.c
View file @
94ee2709
...
...
@@ -3080,6 +3080,7 @@ static void test_thread_context(void)
XMM_SAVE_AREA32
FltSave
;
WORD
SegCs
,
SegDs
,
SegEs
,
SegFs
,
SegGs
,
SegSs
;
}
expect
;
XMM_SAVE_AREA32
broken_fltsave
;
NTSTATUS
(
*
func_ptr
)(
void
*
arg1
,
void
*
arg2
,
struct
expected
*
res
,
void
*
func
)
=
(
void
*
)
code_mem
;
static
const
BYTE
call_func
[]
=
...
...
@@ -3240,7 +3241,12 @@ static void test_thread_context(void)
COMPARE
(
SegFs
);
COMPARE
(
SegGs
);
COMPARE
(
SegSs
);
ok
(
!
memcmp
(
&
context
.
FltSave
,
&
expect
.
FltSave
,
offsetof
(
XMM_SAVE_AREA32
,
XmmRegisters
)),
broken_fltsave
=
context
.
FltSave
;
memset
(
&
broken_fltsave
.
ErrorOpcode
,
0xcc
,
0x12
);
ok
(
!
memcmp
(
&
context
.
FltSave
,
&
expect
.
FltSave
,
offsetof
(
XMM_SAVE_AREA32
,
XmmRegisters
))
||
broken
(
!
memcmp
(
&
broken_fltsave
,
&
expect
.
FltSave
,
offsetof
(
XMM_SAVE_AREA32
,
XmmRegisters
))
)
/* w2008, w8 */
,
"wrong FltSave
\n
"
);
for
(
i
=
6
;
i
<
16
;
i
++
)
ok
(
!
memcmp
(
&
context
.
Xmm0
+
i
,
&
expect
.
FltSave
.
XmmRegisters
[
i
],
sizeof
(
context
.
Xmm0
)
),
...
...
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