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
d60c450c
Commit
d60c450c
authored
Jul 10, 2021
by
Biswapriyo Nath
Committed by
Alexandre Julliard
Jul 19, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winecrt0: Add missing members in _JUMP_BUFFER for SJLJ.
Signed-off-by:
Biswapriyo Nath
<
nathbappai@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
94fb9302
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
2 deletions
+11
-2
exception.c
dlls/ntdll/tests/exception.c
+3
-1
setjmp.c
dlls/winecrt0/setjmp.c
+5
-0
setjmp.h
include/msvcrt/setjmp.h
+3
-1
No files found.
dlls/ntdll/tests/exception.c
View file @
d60c450c
...
...
@@ -127,7 +127,9 @@ typedef struct _JUMP_BUFFER
unsigned
__int64
R14
;
unsigned
__int64
R15
;
unsigned
__int64
Rip
;
unsigned
__int64
Spare
;
unsigned
long
MxCsr
;
unsigned
short
FpCsr
;
unsigned
short
Spare
;
SETJMP_FLOAT128
Xmm6
;
SETJMP_FLOAT128
Xmm7
;
SETJMP_FLOAT128
Xmm8
;
...
...
dlls/winecrt0/setjmp.c
View file @
d60c450c
...
...
@@ -66,6 +66,8 @@ __ASM_GLOBAL_FUNC( __wine_setjmpex,
"movq %r15,0x48(%rcx)
\n\t
"
/* jmp_buf->R15 */
"movq (%rsp),%rax
\n\t
"
"movq %rax,0x50(%rcx)
\n\t
"
/* jmp_buf->Rip */
"stmxcsr 0x58(%rcx)
\n\t
"
/* jmp_buf->MxCsr */
"fnstcw 0x5c(%rcx)
\n\t
"
/* jmp_buf->FpCsr */
"movdqa %xmm6,0x60(%rcx)
\n\t
"
/* jmp_buf->Xmm6 */
"movdqa %xmm7,0x70(%rcx)
\n\t
"
/* jmp_buf->Xmm7 */
"movdqa %xmm8,0x80(%rcx)
\n\t
"
/* jmp_buf->Xmm8 */
...
...
@@ -89,6 +91,9 @@ __ASM_GLOBAL_FUNC( __wine_longjmp,
"movq 0x38(%rcx),%r13
\n\t
"
/* jmp_buf->R13 */
"movq 0x40(%rcx),%r14
\n\t
"
/* jmp_buf->R14 */
"movq 0x48(%rcx),%r15
\n\t
"
/* jmp_buf->R15 */
"ldmxcsr 0x58(%rcx)
\n\t
"
/* jmp_buf->MxCsr */
"fnclex
\n\t
"
"fldcw 0x5c(%rcx)
\n\t
"
/* jmp_buf->FpCsr */
"movdqa 0x60(%rcx),%xmm6
\n\t
"
/* jmp_buf->Xmm6 */
"movdqa 0x70(%rcx),%xmm7
\n\t
"
/* jmp_buf->Xmm7 */
"movdqa 0x80(%rcx),%xmm8
\n\t
"
/* jmp_buf->Xmm8 */
...
...
include/msvcrt/setjmp.h
View file @
d60c450c
...
...
@@ -65,7 +65,9 @@ typedef DECLSPEC_ALIGN(16) struct _JUMP_BUFFER
unsigned
__int64
R14
;
unsigned
__int64
R15
;
unsigned
__int64
Rip
;
unsigned
__int64
Spare
;
unsigned
long
MxCsr
;
unsigned
short
FpCsr
;
unsigned
short
Spare
;
SETJMP_FLOAT128
Xmm6
;
SETJMP_FLOAT128
Xmm7
;
SETJMP_FLOAT128
Xmm8
;
...
...
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