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
a63acd71
Commit
a63acd71
authored
Nov 15, 2005
by
Ken Thomases
Committed by
Alexandre Julliard
Nov 15, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated context definitions for the latest Darwin/x86.
parent
e87fe3a1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
22 deletions
+22
-22
signal_i386.c
dlls/ntdll/signal_i386.c
+22
-22
No files found.
dlls/ntdll/signal_i386.c
View file @
a63acd71
...
...
@@ -298,29 +298,32 @@ typedef struct
typedef
ucontext_t
SIGCONTEXT
;
#define EAX_sig(context) ((context)->uc_mcontext->s
c.sc_
eax)
#define EBX_sig(context) ((context)->uc_mcontext->s
c.sc_
ebx)
#define ECX_sig(context) ((context)->uc_mcontext->s
c.sc_
ecx)
#define EDX_sig(context) ((context)->uc_mcontext->s
c.sc_
edx)
#define ESI_sig(context) ((context)->uc_mcontext->s
c.sc_
esi)
#define EDI_sig(context) ((context)->uc_mcontext->s
c.sc_
edi)
#define EBP_sig(context) ((context)->uc_mcontext->s
c.sc_
ebp)
#define CS_sig(context) ((context)->uc_mcontext->s
c.sc_
cs)
#define DS_sig(context) ((context)->uc_mcontext->s
c.sc_
ds)
#define ES_sig(context) ((context)->uc_mcontext->s
c.sc_
es)
#define FS_sig(context) ((context)->uc_mcontext->s
c.sc_
fs)
#define GS_sig(context) ((context)->uc_mcontext->s
c.sc_
gs)
#define SS_sig(context) ((context)->uc_mcontext->s
c.sc_
ss)
#define EFL_sig(context) ((context)->uc_mcontext->s
c.sc_
eflags)
#define EIP_sig(context) (*((unsigned long*)&(context)->uc_mcontext->s
c.sc_
eip))
#define ESP_sig(context) (*((unsigned long*)&(context)->uc_mcontext->s
c.sc_
esp))
#define EAX_sig(context) ((context)->uc_mcontext->s
s.
eax)
#define EBX_sig(context) ((context)->uc_mcontext->s
s.
ebx)
#define ECX_sig(context) ((context)->uc_mcontext->s
s.
ecx)
#define EDX_sig(context) ((context)->uc_mcontext->s
s.
edx)
#define ESI_sig(context) ((context)->uc_mcontext->s
s.
esi)
#define EDI_sig(context) ((context)->uc_mcontext->s
s.
edi)
#define EBP_sig(context) ((context)->uc_mcontext->s
s.
ebp)
#define CS_sig(context) ((context)->uc_mcontext->s
s.
cs)
#define DS_sig(context) ((context)->uc_mcontext->s
s.
ds)
#define ES_sig(context) ((context)->uc_mcontext->s
s.
es)
#define FS_sig(context) ((context)->uc_mcontext->s
s.
fs)
#define GS_sig(context) ((context)->uc_mcontext->s
s.
gs)
#define SS_sig(context) ((context)->uc_mcontext->s
s.
ss)
#define EFL_sig(context) ((context)->uc_mcontext->s
s.
eflags)
#define EIP_sig(context) (*((unsigned long*)&(context)->uc_mcontext->s
s.
eip))
#define ESP_sig(context) (*((unsigned long*)&(context)->uc_mcontext->s
s.
esp))
#define HANDLER_DEF(name) void name( int __signal, siginfo_t *__siginfo, SIGCONTEXT *__context )
#define HANDLER_CONTEXT (__context)
#define TRAP_sig(context) ((context)->uc_mcontext->es.trapno)
#define ERROR_sig(context) ((context)->uc_mcontext->es.err)
#define FAULT_ADDRESS (__siginfo->si_addr)
#endif
/* __APPLE__ */
...
...
@@ -1300,9 +1303,6 @@ BOOL SIGNAL_Init(void)
ss
.
ss_sp
=
get_signal_stack
();
ss
.
ss_size
=
signal_stack_size
;
ss
.
ss_flags
=
0
;
#ifdef __APPLE__
/* work around MacOS bug */
ss
.
ss_sp
=
(
char
*
)
ss
.
ss_sp
+
ss
.
ss_size
;
#endif
if
(
!
sigaltstack
(
&
ss
,
NULL
))
have_sigaltstack
=
1
;
#ifdef linux
/* sigaltstack may fail because the kernel is too old, or
...
...
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