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
f4eee1c7
Commit
f4eee1c7
authored
Apr 10, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Move the RtlRaiseException implementation into the respective platform-specific files.
parent
48199d70
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
49 additions
and
24 deletions
+49
-24
exception.c
dlls/ntdll/exception.c
+0
-23
signal_i386.c
dlls/ntdll/signal_i386.c
+12
-0
signal_powerpc.c
dlls/ntdll/signal_powerpc.c
+13
-0
signal_sparc.c
dlls/ntdll/signal_sparc.c
+13
-1
signal_x86_64.c
dlls/ntdll/signal_x86_64.c
+11
-0
No files found.
dlls/ntdll/exception.c
View file @
f4eee1c7
...
...
@@ -427,29 +427,6 @@ void raise_status( NTSTATUS status, EXCEPTION_RECORD *rec )
}
/***********************************************************************
* RtlRaiseException (NTDLL.@)
*/
void
WINAPI
__regs_RtlRaiseException
(
EXCEPTION_RECORD
*
rec
,
CONTEXT
*
context
)
{
NTSTATUS
status
=
raise_exception
(
rec
,
context
,
TRUE
);
if
(
status
!=
STATUS_SUCCESS
)
raise_status
(
status
,
rec
);
}
/**********************************************************************/
#ifdef DEFINE_REGS_ENTRYPOINT
DEFINE_REGS_ENTRYPOINT
(
RtlRaiseException
,
1
)
#else
void
WINAPI
RtlRaiseException
(
EXCEPTION_RECORD
*
rec
)
{
CONTEXT
context
;
RtlCaptureContext
(
&
context
);
__regs_RtlRaiseException
(
rec
,
&
context
);
}
#endif
/*******************************************************************
* RtlUnwind (NTDLL.@)
*/
...
...
dlls/ntdll/signal_i386.c
View file @
f4eee1c7
...
...
@@ -2007,6 +2007,18 @@ void __wine_enter_vm86( CONTEXT *context )
}
#endif
/* __HAVE_VM86 */
/***********************************************************************
* RtlRaiseException (NTDLL.@)
*/
void
WINAPI
__regs_RtlRaiseException
(
EXCEPTION_RECORD
*
rec
,
CONTEXT
*
context
)
{
NTSTATUS
status
=
raise_exception
(
rec
,
context
,
TRUE
);
if
(
status
!=
STATUS_SUCCESS
)
raise_status
(
status
,
rec
);
}
DEFINE_REGS_ENTRYPOINT
(
RtlRaiseException
,
1
)
/**********************************************************************
* DbgBreakPoint (NTDLL.@)
*/
...
...
dlls/ntdll/signal_powerpc.c
View file @
f4eee1c7
...
...
@@ -1001,6 +1001,19 @@ void __wine_enter_vm86( CONTEXT *context )
MESSAGE
(
"vm86 mode not supported on this platform
\n
"
);
}
/***********************************************************************
* RtlRaiseException (NTDLL.@)
*/
void
WINAPI
RtlRaiseException
(
EXCEPTION_RECORD
*
rec
)
{
CONTEXT
context
;
NTSTATUS
status
;
RtlCaptureContext
(
&
context
);
status
=
raise_exception
(
rec
,
&
context
,
TRUE
);
if
(
status
)
raise_status
(
status
,
rec
);
}
/**********************************************************************
* DbgBreakPoint (NTDLL.@)
*/
...
...
dlls/ntdll/signal_sparc.c
View file @
f4eee1c7
...
...
@@ -699,7 +699,6 @@ void signal_init_process(void)
this is correct, because that is what x86 does, or it is harmful
because it could obscure problems in user code */
asm
(
"ta 6"
);
/* 6 == ST_FIX_ALIGN defined in sys/trap.h */
signal_init_thread
();
return
;
error:
...
...
@@ -716,6 +715,19 @@ void __wine_enter_vm86( CONTEXT *context )
MESSAGE
(
"vm86 mode not supported on this platform
\n
"
);
}
/***********************************************************************
* RtlRaiseException (NTDLL.@)
*/
void
WINAPI
RtlRaiseException
(
EXCEPTION_RECORD
*
rec
)
{
CONTEXT
context
;
NTSTATUS
status
;
RtlCaptureContext
(
&
context
);
status
=
raise_exception
(
rec
,
&
context
,
TRUE
);
if
(
status
)
raise_status
(
status
,
rec
);
}
/**********************************************************************
* DbgBreakPoint (NTDLL.@)
*/
...
...
dlls/ntdll/signal_x86_64.c
View file @
f4eee1c7
...
...
@@ -804,6 +804,17 @@ PVOID WINAPI RtlVirtualUnwind ( ULONG type, ULONG64 base, ULONG64 pc,
}
/***********************************************************************
* RtlRaiseException (NTDLL.@)
*/
void
WINAPI
__regs_RtlRaiseException
(
EXCEPTION_RECORD
*
rec
,
CONTEXT
*
context
)
{
NTSTATUS
status
=
raise_exception
(
rec
,
context
,
TRUE
);
if
(
status
!=
STATUS_SUCCESS
)
raise_status
(
status
,
rec
);
}
DEFINE_REGS_ENTRYPOINT
(
RtlRaiseException
,
1
)
/**********************************************************************
* __wine_enter_vm86 (NTDLL.@)
*/
...
...
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